Ids.agda 262 B

1234567891011
  1. module Ids where
  2. id : {A : Set} → A → A
  3. id x = x
  4. slow : {A : Set} → A → A
  5. slow = id id id id id id id id id id id id id id id id id id
  6. -- The example above is based on one in "Implementing Typed
  7. -- Intermediate Languages" by Shao, League and Monnier.