add missing requires
closes PR 13713
This commit is contained in:
parent
4bef2987a9
commit
df4bf43ca3
|
@ -23,6 +23,7 @@ here is a simple equality function that operates on pairs and
|
|||
numbers, written using a @litchar{#2d} conditional expression:
|
||||
@codeblock{
|
||||
#lang unstable/2d racket
|
||||
(require unstable/2d/cond)
|
||||
|
||||
(define (same? a b)
|
||||
#2dcond
|
||||
|
@ -64,7 +65,8 @@ Typed Racket numeric types, this time using a @litchar{#2d} match
|
|||
expression:
|
||||
@codeblock{
|
||||
#lang unstable/2d racket
|
||||
|
||||
(require unstable/2d/match)
|
||||
|
||||
(define (subtype? a b)
|
||||
#2dmatch
|
||||
╔══════════╦══════════╦═══════╦══════════╗
|
||||
|
|
Loading…
Reference in New Issue
Block a user