3 ms·
4 spaces indent The inversion is really cool, e.g. > f = λa λb concat ["Hello ", a, " ", b, "!"] > f "Jane" "Doe" Hello Jane Doe! then, >
by lupire 6mo ago
4 spaces indent
The inversion is really cool, e.g.
> f = λa λb concat ["Hello ", a, " ", b, "!"]
> f "Jane" "Doe"
Hello Jane Doe!
then,
> g = f "Admiral"
> invert g "Hello Admiral Alice!"
Alice
- pgt 6mo agothx that looks much better, but I'll forget that syntax in the next 3 months. nowadays I am just casual commenter on HN spending points on contrarian views that I know will be downvoted and I know no one else will say it.