File: Let8.session

package info (click to toggle)
frown 0.6.1-13
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,956 kB
  • sloc: haskell: 35,132; makefile: 228; csh: 35; yacc: 23
file content (3 lines) | stat: -rw-r--r-- 215 bytes parent folder | download | duplicates (6)
1
2
3
> Let8>> run expr "let\n    a = 4 * (7 + 1 - 1\n in a * a" :: IO Expr
> 'Warning: ) inserted'
> Let ("a" :=: Bin (Const 4) Times (Bin (Bin (Const 7) Plus (Const 1)) Minus (Const 1))) (Bin (Var "a") Times (Var "a"))