dev-0.1
Matthew Butterick 9 years ago
parent 20093edc36
commit 69e09fccb0

@ -1,5 +1,6 @@
#lang info #lang info
(define collection "sugar") (define collection "sugar")
(define version "0.1")
(define deps '("base" "rackunit-lib")) (define deps '("base" "rackunit-lib"))
(define build-deps '("scribble-lib" "racket-doc")) (define build-deps '("scribble-lib" "racket-doc"))
(define scribblings '(("scribblings/sugar.scrbl" ()))) (define scribblings '(("scribblings/sugar.scrbl" ())))

@ -33,7 +33,6 @@
(define+provide+safe (slicef-at xs pred [force? #f]) (define+provide+safe (slicef-at xs pred [force? #f])
;; with polymorphic function, use cased typing to simulate optional position arguments
((list? procedure?) (boolean?) . ->* . list-of-lists?) ((list? procedure?) (boolean?) . ->* . list-of-lists?)
(define-values (last-list list-of-lists) (define-values (last-list list-of-lists)
(for/fold (for/fold

@ -8,7 +8,7 @@
@title{Container} @title{Container}
@defmodule[#:multi (sugar/container (submod sugar/container safe))] @defmodule[#:multi (sugar/container (submod sugar/container safe))]
Type-neutral functions for getting elements out of a container, or testing membership. @bold{This submodule is untyped only.} Type-neutral functions for getting elements out of a container, or testing membership.
@defproc[ @defproc[

@ -31,6 +31,8 @@ Sugar can be invoked two ways: as an ordinary library, or as a library with cont
@include-section["list.scrbl"] @include-section["list.scrbl"]
@include-section["xml.scrbl"]
@include-section["license.scrbl"] @include-section["license.scrbl"]
@;index-section[] @;index-section[]

Loading…
Cancel
Save