Y
Hacker News
new
|
ask
|
show
|
jobs
by
dnautics
1989 days ago
Not an antipattern for nimble_parsec:
https://github.com/ityonemo/zigler/blob/fe845a9fbbfef92da8ab...
Plus think of how much easier that pipe makes it for you to understand what is going on.
2 comments
jolux
1989 days ago
That’s a very beautiful usage of it. I hadn’t thought of it as a way to construct DSLs, but it makes a lot of sense here.
link
owl57
1989 days ago
Looks like Haskell-like do notation would be helpful.
link
dnautics
1989 days ago
do you feel like the code presented is broken? I don't. Could it be better? Maybe... But how much? Is it worth a whole new pattern to learn?
link