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

https://github.com/theodesp/remove-duplicates

Removes consecutive elements from a list in Racket/Sheme
https://github.com/theodesp/remove-duplicates

racket scheme

Last synced: about 1 year ago
JSON representation

Removes consecutive elements from a list in Racket/Sheme

Awesome Lists containing this project

README

          

# remove-duplicates
Removes concecutive duplicates from a list in Racket/Scheme

Example
--

```racket
#lang racket
(require "remove-duplicates.rkt")

(remove-consecutive-duplicates '(1 2 1 1 3 3) ) ; '(1 2 1 3)
(remove-consecutive-duplicates 1 ) ; will raise contract violation

```

License
---
MIT License © 2018 Theo Despoudis