Skip to content

Instantly share code, notes, and snippets.

@okuoku
Created June 3, 2017 21:21
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 okuoku/618ab6c18912763b09268316b7f1209f to your computer and use it in GitHub Desktop.
Save okuoku/618ab6c18912763b09268316b7f1209f to your computer and use it in GitHub Desktop.
Sorted (yuni scheme) procedures
;; "4.2.6. Dynamic bindings"
;; parameterize is a syntax
make-parameter
;; "6.1. Equivalence predicates"
eqv? eq? equal?
;; "6.2.6. Numerical operations"
;; Skip: rational? rationalize infinite? numerator denominator
;; make-rectangular make-polar real-part imag-part magnitude angle
number? complex? real? integer?
exact? inexact? exact-integer? finite?
nan?
= < > <= >=
zero? positive? negative? odd? even?
max min + * - / abs
floor/ floor-quotient floor-remainder
truncate/ truncate-quotient truncate-remainder
quotient remainder modulo
gcd lcm
floor ceiling truncate round
exp log sin cos tan asin acos atan
square sqrt exact-integer-sqrt
expt
inexact exact
;; "6.2.7. Numerical input and output"
number->string string->number
;; "6.3. Booleans"
not boolean? boolean=?
;; "6.4. Pairs and lists"
pair? cons
car cdr set-car! set-cdr! caar cadr cdar cddr
null? list? make-list list length append reverse
list-tail list-ref list-set!
memq memv member
assq assv assoc
list-copy
caaaar caaadr caaar caadar caaddr caadr cadaar cadadr cadar caddar cadddr caddr
cdaaar cdaadr cdaar cdadar cdaddr cdadr cddaar cddadr cddar cdddar cddddr cdddr
;; "6.5. Symbols"
symbol? symbol=? symbol->string string->symbol
;; "6.6. Characters"
;; Skip: char-ci=? char-ci<? char-ci>? char-ci<=? char-ci>=?
;; char-alphabetic? char-numeric? char-whitespace? char-upper-case?
;; char-lower-case?
;; digit-value
;; char-upcase char-downcase char-foldcase
char? char=? char<? char>? char<=? char>=?
char->integer integer->char
;; "6.7. Strings"
;; Skip: string-ci=? string-ci<? string-ci>? string-ci<=? string-ci>=?
;; string-upcase string-downcase string-foldcase
string? make-string string string-length string-ref string-set!
string=? string<? string>? string<=? string>=?
substring
string-append string->list list->string
string-copy string-copy! string-fill!
;; "6.8. Vectors"
vector? make-vector vector vector-length vector-ref vector-set!
vector->list list->vector
vector->string string->vector
vector-copy vector-copy! vector-append vector-fill!
;; "6.9. Bytevectors"
bytevector? make-bytevector bytevector
bytevector-length bytevector-u8-ref bytevector-u8-set!
bytevector-copy bytevector-copy! bytevector-append
utf8->string string->utf8
;; "6.10. Control features"
procedure? apply
map string-map vector-map
for-each string-for-each vector-for-each
call-with-current-continuation call/cc
values call-with-values
dynamic-wind
;; "6.11. Exceptions"
with-exception-handler raise raise-continuable
error error-object? error-object-message error-object-irritants
read-error? file-error?
;; "6.12. Environments and evaluation"
;; Skip: (all)
;; "6.13.1. Ports"
call-with-port call-with-input-file call-with-output-file
input-port? output-port? textual-port? binary-port?
port?
input-port-open? output-port-open?
current-input-port current-output-port current-error-port
with-input-from-file with-output-to-file
open-input-file open-binary-input-file
open-output-file open-binary-output-file
close-port close-input-port close-output-port
open-input-string open-output-string get-output-string
open-input-bytevector open-output-bytevector get-output-bytevector
;; "6.13.2. Input"
;; Skip: char-ready? u8-ready?
read
read-char peek-char read-line
eof-object? eof-object
read-string
read-u8 peek-u8
read-bytevector read-bytevector!
;; "6.13.3. Output"
write
write-shared write-simple
display
newline
write-char write-string write-u8 write-bytevector
flush-output-port
;; "6.14. System interface"
;; Skip: load emergency-exit get-environment-variables current-second
;; current-jiffy jiffies-per-second features
file-exists? delete-file
command-line exit
get-environment-variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment