deobfuscate haskell golf a bit
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 31 Oct 2020 08:08:33 +0000 (09:08 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 8 Nov 2020 07:12:14 +0000 (08:12 +0100)
Keep only a single <$> to test its ligature.
Language comment in front and in full.

unicode.txt

index c2be4c93a63312bcffa1cb5e0bc5defb98cc9343..2c29f9431c20392aef116cdac2139e509ef0744b 100644 (file)
@@ -32,7 +32,7 @@ Code:
 
   perl -pe's/\w/$^ =~ $& > chop($^ = $& . $^) ? "@-" : $&/ge'
 
-  fix$(<$>)<$>(:)<*>((<$>((:[{- hs -}])<$>))(=<<)<$>(*)<$>(>>=)(+)($))$1
+  {- haskell -}fix$(.)<$>(:)<*>((.((:[]).))(=<<).(*).(>>=)(+)($))$1
 
   ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1⌽¨⊂⍵ ⍝ game of life