Util Library

The (scheme cyclone util) library contains various utility functions used internally the compiler.

This library is used internally by the compiler and its API may change at any time.

Cyc-er-compare?

Cyc-er-rename

app?

begin?

const?

define->exp

define->var

define-c?

define?

delete

delete-duplicates

env:_lookup-variable-value

env:add-binding-to-frame!

env:all-values

env:all-variables

env:define-variable!

env:enclosing-environment

env:extend-environment

env:first-frame

env:frame-values

env:frame-variables

env:lookup

env:lookup-variable-value

env:make-frame

env:set-variable-value!

env:the-empty-environment

filter

flatten

formals->list

gensym

identifier->symbol

identifier=?

identifier?

if->condition

if->else

if->then

if-else?

if?

lambda->exp

lambda->formals

lambda-formals->list

lambda-formals-type

lambda-varargs-var

lambda-varargs?

lambda?

length/obj

list-index2

list-insert-at!

list-prefix?

mangle

mangle-global

pack-lambda-arguments

pair->list

quote?

ref?

set!->exp

set!->var

set!?

string-join

(string-join list deliminator)

Create a single string from a list of strings, adding deliminator between each of the strings. deliminator may be either a character or string.

string-replace-all

string-split

(string-split string deliminator)

Create a list of strings from the given string, creating a new one at each instance of the deliminator character.

tagged-list?

take