Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List up Builtin functions #10

Open
27 tasks
VoQn opened this issue Feb 19, 2018 · 0 comments
Open
27 tasks

List up Builtin functions #10

VoQn opened this issue Feb 19, 2018 · 0 comments
Assignees
Labels

Comments

@VoQn
Copy link
Owner

VoQn commented Feb 19, 2018

Task

  • prepare document
  • write document about builtin functions

Builtin Function

Equality

  • eq? (: a Eq) (-> a a ... Bool)/==
  • unique? (: a Eq) (-> a a ... Bool)/!=

Ordering

  • greater? (: a Ord) (-> a a ... Bool)/>
  • less? (: a Ord) (-> a a ... Bool)/<
  • greater-or-equal? (: a Ord) (-> a a ... Bool)/<=
  • less-or-equal? (: a Ord) (-> a a ... Bool)/>=
  • compare (: a Ord) (-> a a Ordering)

Numeric operation

  • sum (: a Addible) (-> a a ... a)/+
  • product (: a Multiply) (-> a a ... a)/*
  • sub (-> a a ... a)/-
  • div (-> a a ... a)//
  • negate (-> a a)

List operation

  • list
  • head
  • tail
  • cons/unshift/::
  • length
  • nth

I/O

  • open-input-file
  • close-input-file
  • open-output-file
  • close-output-file
  • print
  • read
  • write
@VoQn VoQn self-assigned this Feb 19, 2018
@VoQn VoQn added the 3. Chore label Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant