git.shiar.nl
/
unicode-sampler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc34ec2
)
deobfuscate haskell golf a bit
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 31 Oct 2020 08:08:33 +0000
(09:08 +0100)
committer
Mischa 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
patch
|
blob
|
history
diff --git
a/unicode.txt
b/unicode.txt
index c2be4c93a63312bcffa1cb5e0bc5defb98cc9343..2c29f9431c20392aef116cdac2139e509ef0744b 100644
(file)
--- a/
unicode.txt
+++ b/
unicode.txt
@@
-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