Quantcast
Channel: Pragmatic Forums | Posts in topic 'drunken-monad identity monad example'
Viewing all articles
Browse latest Browse all 22

drunken-monad identity monad example posted by Leo @ Sun, 06 Mar 2011 07:12:56 +0000

$
0
0

ok, I can see it’s left associative. Does this look right? I’m unsure how many parentheses to keep around? specifically whether to put an expression like stagger(pos) in parentheses, making it (stagger(pos)).

form 0: (((pos >>== stagger)>>== stagger)>>== crawl)>>== rtn
form 1: (((stagger(position))>>== stagger)>>== crawl)>>== rtn
form 2: ((stagger(stagger(position))))>>== crawl)>>== rtn
form 3: (crawl(stagger(stagger(position))))>>== rtn
form 3: rtn(crawl(stagger(stagger(position))))


Viewing all articles
Browse latest Browse all 22

Trending Articles