Changeset 28366 in project


Ignore:
Timestamp:
02/16/13 16:47:05 (7 years ago)
Author:
Moritz Heidkamp
Message:

type-stubs: Mention compiler-typecase else constraint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/type-stubs

    r28365 r28366  
    99
    1010
     11=== Constraints
     12
     13In order to be fully compatible with older Chicken versions it is
     14required to always provide an {{else}} branch in the
     15{{compiler-typecase}} form. This is because pre-typed Chickens have to
     16always use the {{else}} branch even when compiling code.
     17
     18
    1119=== Example
    1220
     
    1624(doubled-number->string)
    1725
    18 (import chicken scheme)
    19 (use type-stubs)
     26(import chicken scheme type-stubs)
    2027
    2128(: doubled-number->string (number -> string))
Note: See TracChangeset for help on using the changeset viewer.