Complete base functions #2

Closed
opened 2024-12-05 16:53:51 +00:00 by scott · 1 comment
Owner
  • atan_2 (x) -> number
  • ceil (x) -> number
  • conj (x, y) -> list
  • cos (x) -> number
  • dec (x) -> number
  • disj (x) -> set
  • dissoc (x, y) -> dict
  • div (x, y) -> number
  • doc (x) -> string
  • downcase (x) -> string
  • first (x) -> value
  • floor (x) -> number
  • get (x, y) -> value
  • gt (x, y) -> bool
  • gte! (x, y) -> bool
  • inc (x) -> number
  • last (x) -> value
  • lt (x) -> bool
  • lte (x) -> bool
  • mod (x, y) -> number
  • or (x, y) -> value
  • pi
  • print! (x) -> :ok
  • prn (x) -> value
  • push (x) -> list
  • random () -> number
  • range () -> list
  • rest (x) -> coll
  • round (x) -> number
  • show (x) -> string
  • sin (x) -> number
  • slice (x, y, z) -> list
  • split (x, y) -> list(string)
  • sqrt (x) -> number
  • str_slice (x, y, z) -> string
  • stringify (x) -> string
  • sub (x, y) -> number
  • tan (x) -> number
  • to_list (x) -> list
  • to_number (x) -> number
  • trim (x) -> string
  • triml (x) -> string
  • trimr (x) -> string
  • type (x) -> keyword
  • upcase (x) -> string
  • add (x, y) -> number
  • and (x, y) -> value
  • assoc (x, y) -> dict
  • bool (x) -> bool
  • chars (x) -> list
  • concat (x, y) -> value
  • eq (x, y) -> bool
  • store! (x, y) -> value
  • unbox (x) -> value
* [x] atan_2 (x) -> number * [x] ceil (x) -> number * [x] conj (x, y) -> list * [x] cos (x) -> number * [x] dec (x) -> number * [ ] disj (x) -> set * [x] dissoc (x, y) -> dict * [x] div (x, y) -> number * [x] doc (x) -> string * [x] downcase (x) -> string * [x] first (x) -> value * [x] floor (x) -> number * [x] get (x, y) -> value * [x] gt (x, y) -> bool * [x] gte! (x, y) -> bool * [x] inc (x) -> number * [x] last (x) -> value * [x] lt (x) -> bool * [x] lte (x) -> bool * [x] mod (x, y) -> number * [x] or (x, y) -> value * [x] pi * [x] print! (x) -> :ok * [ ] prn (x) -> value * [x] push (x) -> list * [x] random () -> number * [x] range () -> list * [x] rest (x) -> coll * [x] round (x) -> number * [x] show (x) -> string * [x] sin (x) -> number * [x] slice (x, y, z) -> list * [x] split (x, y) -> list(string) * [x] sqrt (x) -> number * [ ] str_slice (x, y, z) -> string * [ ] stringify (x) -> string * [x] sub (x, y) -> number * [x] tan (x) -> number * [x] to_list (x) -> list * [x] to_number (x) -> number * [x] trim (x) -> string * [x] triml (x) -> string * [x] trimr (x) -> string * [x] type (x) -> keyword * [x] upcase (x) -> string * [x] add (x, y) -> number * [x] and (x, y) -> value * [x] assoc (x, y) -> dict * [x] bool (x) -> bool * [x] chars (x) -> list * [x] concat (x, y) -> value * [x] eq (x, y) -> bool * [x] store! (x, y) -> value * [x] unbox (x) -> value
Author
Owner

Done in 13c14fd38f. Some of these aren't necessary, some I'm not ready for yet (disj only exists for sets, and we don't have sets yet).

Done in https://alea.ludus.dev/scott/rudus/commit/13c14fd38f7007dc8248d3bfb7ead0379d287383. Some of these aren't necessary, some I'm not ready for yet (`disj` only exists for sets, and we don't have sets yet).
scott closed this issue 2024-12-06 19:12:56 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#2
No description provided.