Skip to content

Commit

Permalink
Fix manual.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Mar 31, 2020
1 parent 725b7d9 commit 41a4d1a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions base.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ctr_object* ctr_build_nil() {

/**
* @def
* [Nil] Nil?
* [ Nil ] Nil?
*
* @example
* ☞ x := Nil.
Expand All @@ -121,7 +121,7 @@ ctr_object* ctr_nil_is_nil(ctr_object* myself, ctr_argument* argumentList) {

/**
* @def
* [Nil] string
* [ Nil ] string
*
* @example
* ☞ x := Nil.
Expand All @@ -133,7 +133,7 @@ ctr_object* ctr_nil_to_string(ctr_object* myself, ctr_argument* argumentList) {

/**
* @def
* [Nil] number
* [ Nil ] number
*
* @example
* ☞ x := Nil.
Expand All @@ -145,7 +145,7 @@ ctr_object* ctr_nil_to_number(ctr_object* myself, ctr_argument* ctr_argumentList

/**
* @def
* [Nil] boolean
* [ Nil ] boolean
*
* @example
* ☞ x := Nil.
Expand Down Expand Up @@ -317,7 +317,7 @@ ctr_object* ctr_string_copy( ctr_object* myself, ctr_argument* argumentList ) {
/**
*
* @def
* [Object] case: [Object] do: [Block].
* [ Object ] case: [ Object ] do: [ Block ].
*
* @example
* ☞ x := '**'.
Expand Down Expand Up @@ -1453,7 +1453,7 @@ ctr_object* ctr_build_empty_string() {

/**
* @def
* [String] bytes
* [ String ] bytes
*
* @example
* ☞ x := '☘☘☘'.
Expand Down Expand Up @@ -1502,7 +1502,7 @@ ctr_object* ctr_string_neq(ctr_object* myself, ctr_argument* argumentList) {

/**
* @def
* [String] length
* [ String ] length
*
* @example
* ☞ x := '☘☘☘'.
Expand Down Expand Up @@ -1767,7 +1767,7 @@ ctr_object* ctr_string_last_index_of(ctr_object* myself, ctr_argument* argumentL

/**
* @def
* [String] [String]: [String]
* [ String ] [ String ]: [ String ]
*
* @example
* ☞ x := '$ money'.
Expand Down Expand Up @@ -1973,7 +1973,7 @@ ctr_object* ctr_string_find_pattern_do( ctr_object* myself, ctr_argument* argume

/**
* @def
* [String] contains: [String]
* [ String ] contains: [ String ]
*
* @example
* ☞ x := 'abc' contains: 'a'.
Expand Down
4 changes: 2 additions & 2 deletions collections.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ctr_object* ctr_array_max(ctr_object* myself, ctr_argument* argumentList) {

/**
* @def
* [ List ] each: [Block].
* [ List ] each: [ Block ].
*
* @example
* ☞ x := List ← 1 ; 2 ; 3.
Expand Down Expand Up @@ -858,7 +858,7 @@ ctr_object* ctr_map_put(ctr_object* myself, ctr_argument* argumentList) {

/**
* @def
* [ Map ] [ String ]: [Object]
* [ Map ] [ String ]: [ Object ]
*
* @example
* ☞ x :=
Expand Down
12 changes: 6 additions & 6 deletions system.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,7 @@ ctr_object* ctr_clock_weekday( ctr_object* myself, ctr_argument* argumentList )

/**
* @def
* [Moment] time.
* [ Moment ] time.
*
* @example
* ☞ t := Moment new time.
Expand Down Expand Up @@ -1295,13 +1295,13 @@ ctr_object* ctr_clock_add( ctr_object* myself, ctr_argument* argumentList ) {
}

/**
* [Moment] subtract: [Number].
* [ Moment ] subtract: [Number].
*
* Same as '[Moment] add:' but subtracts the number instead of adding it to
* Same as '[ Moment ] add:' but subtracts the number instead of adding it to
* the clock's time.
*
* In other languages:
* Dutch: [Moment] aftrekken: [Getal].
* Dutch: [ Moment ] aftrekken: [Getal].
* Verschuift het moment in de tijd op basis van het getal.
* Het getal kan gekwalificeerd worden als minuten, uren of seconden.
*/
Expand All @@ -1310,13 +1310,13 @@ ctr_object* ctr_clock_subtract( ctr_object* myself, ctr_argument* argumentList )
}

/**
* [Moment] new
* [ Moment ] new
*
* Creates a new clock, by default a clock will be set to
* the UTC timezone having the current time.
*
* In other languages:
* Dutch: [Moment] nieuw.
* Dutch: [ Moment ] nieuw.
* Maakt een nieuw moment aan voor het huidige tijdstip.
*/
ctr_object* ctr_clock_new( ctr_object* myself, ctr_argument* argumentList ) {
Expand Down

0 comments on commit 41a4d1a

Please sign in to comment.