1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Scheme の標準手続一覧

Posted at

「アルゴリズム言語Scheme報告書改7」
http://milkpot.sakura.ne.jp/scheme/r7rs.pdf
より手続き名を取り出し

四則演算

+ - * /

等しいかどうかを調べる

eqv?, eq?, equal?

数値の型や形式を調べる

number?, complex?, real?, rational?, integer?, exact?, inexact?, exact-integer?, finite?, infinite?, nan?

数列を調べる

=, <, >, <=, >=

数値を調べる

zero?, positive?, negative?, odd?, even?

最大値、最小値を返す

max, min

絶対値を返す

abs

整数除算と整数剰余

floor, floor-quotient, floor-remainder, truncate, truncate-quotient, truncate-remainder, quotient, remainder, modulo

最大公約数と最小公倍数

gcd, lcm

分数の分子と分母

numerator, denominator

丸め演算

floor, ceiling, truncate, round, rationalize

実数演算

exp, log, sin, cos, tan asin, acos, atan,square, sqrt,(exact-integer-sqrt, expt

複素数演算

make-rectangular, make-polar, real-part, imag-part, magnitude, angle

分数-小数変換

inexact, exact

数値-文字列変換

number->string,string->number

ブーリアン操作

not, boolean?

ペア操作

pair?, cons, car, cdr, set-car!,set-cdr,caar,cdar,cadr,cddr,...

リスト操作

null? list? make-list, list, length, append, reverse, list-tail, list-ref, list-set!, memq,memv,member,assq,assv,assoc,assoc list-copy

シンボル操作

symbol? symbol=?, symbol->string string->symbol

文字操作

char=?, char, char>?, char<=?,char=?, 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->integer, integer->char, char-upcase,char-downcase,char-foldcase

文字列操作

string?, make-string, string, string-length, string-ref, string-set!, string=?, string-ci=?, string, string-ci, string>?, string-ci>?, string, string-ci<=?,string>=?,string-ci>=?,string-upcase,string-downcase,string-foldcase, substring, string-append, string->list, list->string, string-copy, string-copy!, string-fill!

ベクタ操作

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!

バイトベクター操作

make-bytevector, bytevector, bytevector-length,bytevector-u8-ref, bytevector-u8-set!, bytevector-copy, bytevector-copy!, bytevector-append

制御機能

procedure, apply,map,string-map, vector-map,for-each,string-for-each, vector-for-each, call-with-current-continuation, call, values, call

例外

with-values, dynamic-wind
with-exception-handler,raise,error,error-object?, error-object-message, error-object-irritants, read-error?, file-error?

環境と評価

environment, scheme-report-environment,scheme-report-environment,null-environment, scheme-report-environment, interaction-environment, eval

ポート入出力

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, curent-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-outout-string, open-input-bytevector, open-output-bytevector,get-output-bytevector

入力

read, read-char, peek-char, read-line, eof-objetct? , eof-object, char-ready? , read-string, read-u8, peek-u8, u8-ready?, read-bytevector, read-bytevector!

出力

write , write-shared, write-simple, display, newline, write-char, write-string, write-u8, write-bytevector,
flush-output-port

システム関数

load, file-exists?, delete-file, command-line, exit, emergency-exit, get-environment-variable , get-environment-variables, current-second, current-jiffy, jiffies-per-second, features

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?