Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
falsissime
· 3y ago · 0 comments
There is a minor impurity in this code: `N = 1+1, rle([a,a],[[a,N]]).` succeeds, yet `rle([a,a],[[a,N]]), N = 1+1` fails. Add `:- op(150, fx, #).` and use it like `#CountPlus1 #= #Count+1` etc.
Comments
No comments yet.
Better HN