vanh17 / ProgLangAssignments

Assignments for Programming Languages course
0 stars 0 forks source link

thunk tests #21

Closed vanh17 closed 8 years ago

vanh17 commented 8 years ago

Use the tests already in the file tests.

vanh17 commented 8 years ago

passed. Cool now create more tests then.

vanh17 commented 8 years ago

More tests: //negetive then let t1c = (thunk (fun () -> -3)) () = -3 // a thunk is itself a function call itself on the fixed input: let t1d = (thunk (fun () -> (fun x -> x * x) 3)) () = 9

vanh17 commented 8 years ago

passed