|
|
|
|
|
by uryga
2803 days ago
|
|
The creator (@SrPeixinho) answered some questions on the Haskell subreddit [1]. Looks like you can "box" (his term) variables to allow duplication/copying and it's all tracked statically somehow. (or will be - not sure if that part is fully implemented). [1] https://www.reddit.com/r/haskell/comments/9ojicd/sneak_peek_... |
|
Linear and affine types are pretty hot right now in the small world of type theory and functional programming. SrPeixinho’s work with his collaborators is aimed at building a language for the Ethereum VM that might actually make it possible to write smart contracts that don’t blow up in your face. It’s good stuff. Search his posts on Reddit to see what he’s up to [1].
0. https://en.wikipedia.org/wiki/Curry–Howard_correspondence
1. https://www.reddit.com/user/SrPeixinho