SHARE
TWEET

Untitled

a guest Oct 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bytecode:
  2.     [start,1,2,3,4][map,[plus,3][gt,2]][is,[_]]
  3.  
  4. type inference
  5.     [obj{0}, int{4}, [[int, int, bool]], bool{4}, [[bool, bool]], bool{0,4}]
  6.  
  7. obj{0} - [start] is initial
  8. int{4} - [start] emits 4 ints
  9. bool{4} - [map] processes an int at a time and produces a bool (4 times)
  10. bool{0,4} - [is] filters on true/false and thus, 0 to 4 bools will pass.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top