phc-toolkit/scribblings/type-inference-helpers.scrbl
2021-03-04 20:37:46 +00:00

17 lines
609 B
Racket

#lang scribble/manual
@require[racket/require
"utils.rkt"
@for-label[phc-toolkit/type-inference-helpers]]
@title{type-inference-helpers}
@author{@author+email["Suzanne Soy" "racket@suzanne.soy"]}
@defmodule[phc-toolkit/type-inference-helpers
#:use-sources
[(submod (lib "phc-toolkit/type-inference-helpers.rkt") typed)]]
@defform[#:kind "type expander"
(maybe-apply-type τ arg ...)]{
Expands to @racket[τ] if there are no arguments, and to @racket[(τ arg ...)]
if there is at least one argument. }
@include-section{type-inference-helpers-untyped.scrbl}