MCPcopy Create free account

hub / github.com/cloe-lang/cloe / functions

Functions860 in github.com/cloe-lang/cloe

↓ 417 callersFunctionPApp
PApp is not PPap.
src/lib/core/thunk.go:47
↓ 381 callersFunctionNewNumber
NewNumber creates a thunk containing a number value.
src/lib/core/number.go:21
↓ 248 callersFunctionNewString
NewString creates a string in the language from one in Go.
src/lib/core/string.go:20
↓ 237 callersFunctionEvalPure
EvalPure evaluates a pure value.
src/lib/core/value.go:85
↓ 209 callersFunctionNewList
NewList creates a list from its elements.
src/lib/core/list.go:25
↓ 131 callersMethodEqual
Equal checks equality.
src/lib/core/nil.go:34
↓ 80 callersFunctionNewSignature
NewSignature defines a new Signature.
src/lib/core/signature.go:10
↓ 79 callersFunctionNewPositionalArgument
NewPositionalArgument creates a PositionalArgument.
src/lib/core/positional_argument.go:11
↓ 70 callersFunctionNewArguments
NewArguments creates a new Arguments.
src/lib/core/arguments.go:14
↓ 68 callersFunctionNewGoInfo
NewGoInfo creates a Info of debug information about Go source.
src/lib/debug/info.go:21
↓ 56 callersFunctionNewLazyFunction
NewLazyFunction creates a function whose arguments are evaluated lazily.
src/lib/core/function.go:22
↓ 52 callersMethodName
Name returns a variable name defined by the let-variable statement.
src/lib/ast/let_var.go:17
↓ 44 callersFunctionapp
(f interface{}, args ...interface{})
src/lib/desugar/match/util.go:8
↓ 43 callersFunctionApp
App creates a thunk applying a function to arguments.
src/lib/core/thunk.go:29
↓ 43 callersFunctionNewDictionary
NewDictionary creates a dictionary from keys of values and their corresponding values of thunks.
src/lib/core/dictionary.go:33
↓ 40 callersFunctionEvalList
EvalList evaluates a thunk which is expected to be a list value.
src/lib/core/value.go:32
↓ 38 callersFunctionNewDefFunction
NewDefFunction creates a DefFunction from its function name, signature, internal let statements, and a body expression.
src/lib/ast/def_function.go:22
↓ 36 callersFunctionNewKeywordArgument
NewKeywordArgument creates a KeywordArgument from a bound name and its value.
src/lib/core/keyword_argument.go:10
↓ 36 callersFunctionNewLetVar
NewLetVar creates a LetVar from a variable name and its value of an expression.
src/lib/ast/let_var.go:12
↓ 36 callersMethodValue
Value returns a value which will be matched with patterns in a match expression.
src/lib/ast/match.go:24
↓ 35 callersFunctionNewSignature
NewSignature creates a Signature from {positional, keyword} x {required, optional} arguments and a positional rest argument and a keyword rest argumen
src/lib/ast/signature.go:12
↓ 34 callersMethodFirst
First returns a first element in a list.
src/lib/core/list.go:275
↓ 34 callersMethodRest
Rest returns elements in a list except the first one.
src/lib/core/list.go:284
↓ 32 callersMethodEmpty
Empty returns true if the list is empty.
src/lib/core/list.go:293
↓ 32 callersMethodLets
Lets returns let statements contained in the def-function statement. Returned values should be LetVar or DefFunction.
src/lib/ast/def_function.go:38
↓ 28 callersFunctionNewPApp
NewPApp don't creates PPap but PApp.
src/lib/ast/app.go:22
↓ 27 callersMethodDebugInfo
DebugInfo returns debug information of an application.
src/lib/ast/app.go:43
↓ 27 callersMethodName
Name returns a name of an error.
src/lib/core/error.go:50
↓ 27 callersFunctiontestEqual
(t1, t2 Value)
src/lib/core/interfaces_test.go:9
↓ 26 callersFunctionEvalImpure
EvalImpure evaluates an impure function call.
src/lib/core/value.go:97
↓ 26 callersMethodPositionals
Positionals returns positional required arguments of a signature.
src/lib/ast/signature.go:20
↓ 25 callersMethodString
String creates a parser parsing a string.
src/lib/parse/comb/combinator.go:27
↓ 24 callersFunctionNewState
NewState creates a parser state.
src/lib/parse/comb/state.go:12
↓ 24 callersFunctionnewStateWithoutFile
(source string)
src/lib/parse/parse_test.go:292
↓ 23 callersFunctionNewMatchCase
NewMatchCase creates a case in a match expression.
src/lib/ast/match_case.go:12
↓ 22 callersMethodSignature
Signature returns a signature of a function defined by the def-function statement.
src/lib/ast/def_function.go:32
↓ 20 callersMethodArguments
Arguments returns arguments of an application.
src/lib/ast/app.go:38
↓ 20 callersMethodBody
Body returns a body expression of a function defined by the def-function statement.
src/lib/ast/def_function.go:43
↓ 19 callersMethodApp
App applies a function to results of a given parser.
src/lib/parse/comb/combinator.go:211
↓ 19 callersFunctionRunDaemons
RunDaemons runs daemons. The current implementation doesn't limit a number of spawn goroutines because it can lead to dead lock. However, it should be
src/lib/systemt/daemon.go:16
↓ 19 callersMethodexhaust
(p comb.Parser)
src/lib/parse/parse.go:481
↓ 18 callersMethodAnd
And creates a parser combining given parsers sequentially.
src/lib/parse/comb/combinator.go:152
↓ 18 callersFunctionConvert
Convert converts an AST with a given function. This function visits all expressions and statements at least.
src/lib/ast/util.go:9
↓ 17 callersFunctionEvalNumber
EvalNumber evaluates a thunk which is expected to be a number value.
src/lib/core/value.go:43
↓ 17 callersFunctionEvalString
EvalString evaluates a thunk which is expected to be a string value.
src/lib/core/value.go:54
↓ 17 callersMethodExpr
Expr returns an expression of the effect.
src/lib/ast/effect.go:17
↓ 17 callersFunctionNewOptionalParameter
NewOptionalParameter creates an optional argument.
src/lib/core/optional_parameter.go:10
↓ 17 callersFunctionNewPositionalArguments
NewPositionalArguments creates an Arguments which consists of unexpanded positional arguments.
src/lib/core/arguments.go:32
↓ 17 callersMethodPattern
Pattern returns a pattern matched with a value of the let-match statement.
src/lib/ast/let_match.go:17
↓ 15 callersFunctionGenSym
GenSym creates a unique symbol as a string from its components.
src/lib/gensym/gensym.go:11
↓ 15 callersMethodMany
Many creates a parser of more than or equal to 0 reptation of a given parser.
src/lib/parse/comb/combinator.go:91
↓ 15 callersFunctionTypeError
TypeError creates an error value for an invalid type.
src/lib/core/error.go:77
↓ 15 callersMethodexpression
()
src/lib/parse/parse.go:235
↓ 14 callersMethodFunction
Function returns a function of an application.
src/lib/ast/app.go:33
↓ 14 callersFunctionnewNames
(ss ...string)
src/lib/desugar/names.go:7
↓ 13 callersFunctionNewArguments
NewArguments creates arguments.
src/lib/ast/arguments.go:14
↓ 13 callersFunctionNewError
NewError creates an error value from its name and a formatted message.
src/lib/core/error.go:23
↓ 12 callersMethodExpanded
Expanded returns true when the effect is expanded.
src/lib/ast/effect.go:22
↓ 12 callersFunctionNewAnonymousFunction
NewAnonymousFunction creates a anonymous function.
src/lib/ast/anonymous_function.go:13
↓ 12 callersFunctionNewMatch
NewMatch creates a match expression.
src/lib/ast/match.go:15
↓ 12 callersMethodOr
Or creates a selectional parser from given parsers.
src/lib/parse/comb/combinator.go:130
↓ 12 callersFunctionStrictPrepend
StrictPrepend is a strict version of the Prepend function.
src/lib/core/list.go:49
↓ 12 callersMethodget
(s string)
src/lib/compile/environment.go:25
↓ 12 callersMethodidentifier
()
src/lib/parse/parse.go:406
↓ 12 callersMethodstrippedString
(str string)
src/lib/parse/parse.go:477
↓ 11 callersMethodCases
Cases returns pairs of a pattern and corrensponding value in a match expression.
src/lib/ast/match.go:29
↓ 11 callersMethodKeywords
Keywords returns keyword optional arguments of a signature.
src/lib/ast/signature.go:30
↓ 11 callersFunctionNewApp
NewApp creates an App from a function and arguments with debug information.
src/lib/ast/app.go:17
↓ 11 callersFunctionbuiltinsEnvironment
()
src/lib/compile/builtins.go:81
↓ 11 callersFunctioncons
(t1, t2 Value)
src/lib/core/list.go:57
↓ 10 callersFunctionNewPositionalArgument
NewPositionalArgument creates a positional argument.
src/lib/ast/positional_argument.go:12
↓ 10 callersFunctionStrictDump
StrictDump is a variant of Dump which evaluates input strictly.
src/lib/core/util.go:25
↓ 10 callersMethodlist
(ps ...comb.Parser)
src/lib/parse/parse.go:440
↓ 10 callersMethodset
(s string, t core.Value)
src/lib/compile/environment.go:21
↓ 9 callersMethodChar
Char creates a parser parsing a character.
src/lib/parse/comb/combinator.go:9
↓ 9 callersMethodMaybe
Maybe creates a parser which runs a given parser or parses nothing when it fails.
src/lib/parse/comb/combinator.go:242
↓ 9 callersFunctionNewMutualRecursion
NewMutualRecursion creates a mutual recursion node from mutually-recursive functions.
src/lib/ast/mutual_recursion.go:18
↓ 9 callersMethodcurrentRune
()
src/lib/parse/comb/state.go:20
↓ 9 callersFunctiongenerateCopyBenchmark
(v Value)
src/lib/core/value_test.go:48
↓ 9 callersMethodmerge
(...Value)
src/lib/core/collection.go:9
↓ 8 callersFunctionNewEffect
NewEffect creates an effect.
src/lib/compile/effect.go:12
↓ 8 callersFunctionNewKeywordArgument
NewKeywordArgument creates a keyword argument from a bound name and its value.
src/lib/ast/keyword_argument.go:12
↓ 8 callersFunctionNewSwitchCase
NewSwitchCase creates a case in a switch expression.
src/lib/ast/switch_case.go:12
↓ 8 callersFunctionReturnIfEmptyList
ReturnIfEmptyList returns true if a given list is empty, or false otherwise.
src/lib/core/list.go:298
↓ 8 callersFunctioncheckIndex
(v Value)
src/lib/core/list.go:181
↓ 8 callersFunctionnewEnvironment
(fallback func(string) (core.Value, error))
src/lib/compile/environment.go:14
↓ 7 callersFunctionDaemonize
Daemonize daemonizes a function running it in a goroutine.
src/lib/systemt/daemon.go:8
↓ 7 callersMethodError
Error is implemented for error built-in interface.
src/lib/core/error.go:67
↓ 7 callersFunctionEvalBoolean
EvalBoolean evaluates a thunk which is expected to be a boolean value.
src/lib/core/value.go:10
↓ 7 callersFunctionNewEffectFunction
NewEffectFunction creates a effect function which returns an effect value.
src/lib/core/function.go:49
↓ 7 callersMethodPrefix
Prefix creates a parser with a prefix parser and content parser and returns the latter's result.
src/lib/parse/comb/combinator.go:74
↓ 7 callersFunctioncompare
(x1, x2 interface{})
src/lib/core/interfaces.go:36
↓ 7 callersFunctionevalCollection
(v Value)
src/lib/core/value.go:64
↓ 7 callersFunctionhttpError
(err error)
src/lib/modules/http/error.go:5
↓ 7 callersMethodstrip
(p comb.Parser)
src/lib/parse/parse.go:462
↓ 6 callersFunctionCompile
Compile compiles a main module of a path into effects of thunks.
src/lib/compile/compile.go:14
↓ 6 callersMethodMany1
Many1 creates a parser of more than 0 reptation of a given parser.
src/lib/parse/comb/combinator.go:104
↓ 6 callersFunctionNewBoolean
NewBoolean converts a Go boolean value into BooleanType.
src/lib/core/boolean.go:28
↓ 6 callersFunctionNewLetMatch
NewLetMatch creates a let-match statement from a pattern and an expression.
src/lib/ast/let_match.go:12
↓ 6 callersFunctionNewStrictFunction
NewStrictFunction creates a function whose arguments are evaluated strictly.
src/lib/core/function.go:35
next →1–100 of 860, ranked by callers