Advertisement
ananthm3

Language Syntax

Apr 16th, 2023 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. name :: type -> type -> type -> type ...
  2. name args =
  3. ... \\ Statement
  4. where \\ bindings
  5. ... \\ Statement
  6. where \\ bindings
  7. cond statement
  8. | ... -> ...
  9. | ... -> ...
  10. | OW -> ...
  11.  
  12. +--------------+
  13. Backpropable chunk in here
  14. +--------------+
  15.  
  16. Numpy-like indexing
  17. {start}..{end}:{step},
  18. [:{dim} <index things>, ...]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement