PasteRack.org
Paste # 10452
2021-02-02 12:32:18

Fork as a new paste.

Paste viewed 350 times.


Embed:

  1. #lang racket
  2.  
  3. (require redex)
  4. (require pict)
  5.  
  6. (define-language L
  7.   (A number))
  8.  
  9. (define-metafunction L
  10.   fn : A -> A
  11.   [(fn A) A])
  12.  
  13. (pict-descent (metafunction->pict fn #:contract? #t))

=>