Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dllthomas
on April 1, 2022
|
parent
|
context
|
favorite
| on:
Two Vexing Problems in Functional Programming
Translating naively, in Haskell I might use
https://hackage.haskell.org/package/containers-0.6.5.1/docs/...
, which does use sharing to reduce copying.
tromp
on April 1, 2022
[–]
A simple Brankfuck interpreter in Haskell using state monads may be found at
https://tromp.github.io/cl/Binary_lambda_calculus.html#Brain...
dllthomas
on April 2, 2022
|
parent
[–]
Yeah, for something where changes are local like that, using two stacks for your tape makes a lot of sense.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: