Skip to content

Instantly share code, notes, and snippets.

@jrslepak
Last active June 23, 2019 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrslepak/e7daada231ffa4980ada3cbcc9f800b5 to your computer and use it in GitHub Desktop.
Save jrslepak/e7daada231ffa4980ada3cbcc9f800b5 to your computer and use it in GitHub Desktop.
Scribble docs for curried functions?
#lang scribble/manual
This is a 3-argument curried function.
@defproc[(((lerp [lo number?])
[hi number?])
[alpha number?])
number?]{
Linear interpolation}
This is a 4-argument curried function.
@defproc[((((distance [x1 number?])
[y1 number?])
[x2 number?])
[y2 number?])
number?]{
Euclidean distance from (x1,y1) to (x2,y2)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment