Back to front pageView on Hacker News (opens in a new tab)Show HN: Parinfer – a simpler way to write Lisp (opens in a new tab)shaunlebron.github.io674 pointsby undershirt (on Hacker News)11 years agoshaunlebron.github.io (opens in a new tab)Parinfer - simpler Lisp editingParinfer - simpler Lisp editingComments (134) 36 threadsShow all commentsShowing thread 22 of 36[-]dTal11 years ago1 reply#In the example: (foo [1 2 3 4 5 6 7 8 9]) How does one change it to: (foo [1 2 3] [4 5 6] [7 8 9]) ?edit: Ah, it works if you put all the forms on one line. I suppose it would be considered non-standard to indent that particular syntax in such a way.[-]chrisoakman11 years ago1 reply#You could also just put a "[" in front of "4" and "7".Parinfer will infer the closing brackets.dTal11 years ago#That yeilds (foo [1 2 3 [4 5 6] [7 8 9]])
Show HN: Parinfer – a simpler way to write Lisp (opens in a new tab)shaunlebron.github.io674 pointsby undershirt (on Hacker News)11 years ago
dTal11 years ago1 reply#In the example: (foo [1 2 3 4 5 6 7 8 9]) How does one change it to: (foo [1 2 3] [4 5 6] [7 8 9]) ?edit: Ah, it works if you put all the forms on one line. I suppose it would be considered non-standard to indent that particular syntax in such a way.
chrisoakman11 years ago1 reply#You could also just put a "[" in front of "4" and "7".Parinfer will infer the closing brackets.
Comments (134) 36 threads
Show all comments
Showing thread 22 of 36
edit: Ah, it works if you put all the forms on one line. I suppose it would be considered non-standard to indent that particular syntax in such a way.
Parinfer will infer the closing brackets.