Y
Hacker News
new
|
ask
|
show
|
jobs
by
kenshoen
1343 days ago
So is it a sintax for n-ary trees? Nice!
newtype Jevko = Jevko ([(String, Jevko)], String)
1 comments
djedr
1342 days ago
Indeed that's a useful way to look at it and a type definition that'll do the job of storing Jevko parse trees.
See also:
https://xtao.org/blog/rose.html
link
See also: https://xtao.org/blog/rose.html