racketf

racketf

Geek Repo

A set of assignments in the Racket programming language.

Home Page:https://racketf.github.io/

Github PK Tool:Github PK Tool

racketf's repositories

list.bubble-sort

Bubble sorts a list in ascending order.

Language:RacketLicense:MITStargazers:1Issues:2Issues:0

racketf.github.io

A set of assignments in the Racket programming language.

License:MITStargazers:1Issues:3Issues:0

list.get

Use recursive definition of list to get the nth element (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.increment-first

Increments only the first value of list.

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.merge

Merge loi1 and loi2 in ascending order (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.reduce

Reduces list of values to a single value.

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.remove-first-value

Get a new list with elements in the same order, except the the first occurrence of symbol s (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.repeat-value

Returns a list containing n copies of x (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.reverse

Reverses the order of elements in a list.

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.reverse-pairs

Returns a list with each 2-list reversed (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.sort-by

Returns a list of elements sorted by predicate.

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.count-value

Returns occurrences of s in slist (see EOPL)

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.down

Wraps parentheses around each top-level element of lst (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.flatten

Returns list of symbols in slist in the same order (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.replace

Substitute symbol in a symbol list (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.replace-inline

Elimiate one call to subst-sexp in subst by replacing its definition (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

sort

Returns a list of elements sorted in ascending order (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

filter-in

Returns list of elements in lst that satisfy the predicate pred (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

lambda.occurs-free

Is a variable free in a lambda expression (see EOPL)?

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.any

Returns #t if any element of lst satisfies pred, #f otherwise (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.append

Appends a value to end of list.

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.cartesian-product

Returns cartesian product of sos1 with sos2 (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.every

Returns #f if any element of lst fails to satisfy pred, #t otherwise (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.find-index

Returns 0-based position of first element in lst that satisfies predicate pred (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.map

Applies a function to every elem.

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.number-elements

Mark each element of list as a pair of its index and value (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

list.remove-value

Like remove-first, except that it removes all occurrences of given symbol (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.replace-map

Writing subst following original kleene star grammar using map (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.replacex

Returns s-list with all occurrences of s1 replaced with s2 (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0

slist.up

Removes a pair of parentheses from each top-level element of lst (see EOPL).

Language:RacketLicense:MITStargazers:0Issues:2Issues:0