-
Notifications
You must be signed in to change notification settings - Fork 5
/
formal.rkt
28 lines (26 loc) · 877 Bytes
/
formal.rkt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#lang racket/base
;;______________________________________________________________
;; ______
;; ( // _____ ____ . __ __
;; ~//~ ((_)// // / / // ((_ ((_/_
;; (_//
;;..............................................................
;; Provides formica/formal module.
;;==============================================================
(require "types.rkt")
(require "private/formal/hold.rkt")
(provide
(contract-out
(hold (-> (or/c Fun Sym) (? procedure-arity?) formal-function?))
($ (-> (or/c Fun Sym) (? procedure-arity?) formal-function?))
(formal-function? predicate/c)))
(require "private/formal/formal.rkt")
(provide
(contract-out
(formals (parameter/c (listof predicate/c)))
(formal? predicate/c)
(n/f-list? predicate/c)
(n/f-pair? predicate/c))
define-formal
formal
formal-out)