Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| teaching:cc4101:tareas:2016-1:tarea1 [2016/04/11 14:56] – fmosso | teaching:cc4101:tareas:2016-1:tarea1 [2016/04/17 00:03] (current) – [Tarea 1 (Entrega: 20 de Abril 2016)] fmosso | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| - | Esta tarea se distribuye con un archivo zip {{teaching: | + | Esta tarea se distribuye con un archivo zip {{:teaching: |
| * La **carpeta A** contiene 3 archivos: main.rkt, tests.rkt, y machine.rkt. Los archivos main.rkt y tests.rkt son incompletos, | * La **carpeta A** contiene 3 archivos: main.rkt, tests.rkt, y machine.rkt. Los archivos main.rkt y tests.rkt son incompletos, | ||
| Line 155: | Line 155: | ||
| (TFun (TNum) (TBool)) | (TFun (TNum) (TBool)) | ||
| > (typeof (parse '{fun {f : Num} : Bool 10})) | > (typeof (parse '{fun {f : Num} : Bool 10})) | ||
| - | "Type error in expression fun position | + | "Type error in expression fun position |
| > (typeof (parse '{{fun {f : Num} : Bool #t} #t})) | > (typeof (parse '{{fun {f : Num} : Bool #t} #t})) | ||
| "Type error in expression app position 2: expected Num found Bool" | "Type error in expression app position 2: expected Num found Bool" | ||
| Line 170: | Line 170: | ||
| > | > | ||
| '{Num -> Bool} | '{Num -> Bool} | ||
| + | |||
| + | > | ||
| + | "Type error in expression + position 2: expected Num found Bool" | ||
| > | > | ||

