Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thyrsus
· 12y ago · 0 comments
Erlang uses <<stuff>> to express binary strings. In other literate programming environments, e.g., org mode and noweb, I have to break up the string like
<<"word" >>
...which is ugly. I've tried other workarounds like defining a macro
-define (bs(X), <<X >>
and then use
bs("word")
...which is still ugly. Any better suggestions?
Comments
[–]
cdosborn
12y ago
My program has only the two constructs `<<>>` and `<<>>=` which you could rather easily alter. src/Processing.he and src/Parse.hs