Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theodesp/feint

Makes a function ignore its first call
https://github.com/theodesp/feint

racket scheme

Last synced: about 2 months ago
JSON representation

Makes a function ignore its first call

Awesome Lists containing this project

README

        

# feint
Makes a function ignore it's first call

Example
--

```racket
#lang racket
(require "faint.rkt")

(define (1+ a)
(+ a 1))

(define add1 (feint 1+) )
(add1 1) ; ignored
(add1 1) ; 2
(add1) ; Throws correctly
```

License
---
MIT License © 2018 Theo Despoudis