Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alaingilbert/agl
/ functions
Functions
2,276 in github.com/alaingilbert/agl
⨍
Functions
2,276
◇
Types & classes
311
Function
TestCodeGen85
func TestCodeGen82(t *testing.T) { src := ` fn main() { _ := 42 } ` tassert.PanicsWithError(t, "3:4: No new variables on the left side of ':='", te
pkg/agl/codegen_test.go:2732
Function
TestCodeGen86
(t *testing.T)
pkg/agl/codegen_test.go:2755
Function
TestCodeGen87
(t *testing.T)
pkg/agl/codegen_test.go:2774
Function
TestCodeGen88
(t *testing.T)
pkg/agl/codegen_test.go:2793
Function
TestCodeGen89
(t *testing.T)
pkg/agl/codegen_test.go:2810
Function
TestCodeGen91
func TestCodeGen90(t *testing.T) { src := ` package main import "fmt" type Person struct { age int } fn main() { p1 := Person{age: 1} p2 :
pkg/agl/codegen_test.go:2864
Function
TestCodeGen92
(t *testing.T)
pkg/agl/codegen_test.go:2919
Function
TestCodeGen93
(t *testing.T)
pkg/agl/codegen_test.go:2881
Function
TestCodeGen94
(t *testing.T)
pkg/agl/codegen_test.go:2900
Function
TestCodeGen95
(t *testing.T)
pkg/agl/codegen_test.go:2936
Function
TestCodeGen95_2
(t *testing.T)
pkg/agl/codegen_test.go:2969
Function
TestCodeGen95_3
(t *testing.T)
pkg/agl/codegen_test.go:3004
Function
TestCodeGen95_4
(t *testing.T)
pkg/agl/codegen_test.go:3031
Function
TestCodeGen95_5
(t *testing.T)
pkg/agl/codegen_test.go:3058
Function
TestCodeGen95_6
(t *testing.T)
pkg/agl/codegen_test.go:3089
Function
TestCodeGen96
(t *testing.T)
pkg/agl/codegen_test.go:3122
Function
TestCodeGen97
(t *testing.T)
pkg/agl/codegen_test.go:3155
Function
TestCodeGen98
(t *testing.T)
pkg/agl/codegen_test.go:3178
Function
TestCodeGen99
(t *testing.T)
pkg/agl/codegen_test.go:3201
Function
TestCodeGen9_optionalReturnKeyword
(t *testing.T)
pkg/agl/codegen_test.go:226
Function
TestCodeGenForInIf
(t *testing.T)
pkg/agl/codegen_test.go:10354
Function
TestCodeGenGuard_1
(t *testing.T)
pkg/agl/codegen_guard_test.go:9
Function
TestCodeGenGuard_2
(t *testing.T)
pkg/agl/codegen_guard_test.go:43
Function
TestCodeGenGuard_3
(t *testing.T)
pkg/agl/codegen_guard_test.go:71
Function
TestCodeGenMatch_1
(t *testing.T)
pkg/agl/codegen_match_test.go:9
Function
TestCodeGenMatch_2
(t *testing.T)
pkg/agl/codegen_match_test.go:28
Function
TestCodeGenMatch_3
(t *testing.T)
pkg/agl/codegen_match_test.go:46
Function
TestCodeGen_55
(t *testing.T)
pkg/agl/codegen_test.go:1918
Function
TestCodeGen_Enum2
(t *testing.T)
pkg/agl/codegen_test.go:1688
Function
TestCodeGen_Enum3
(t *testing.T)
pkg/agl/codegen_test.go:1745
Function
TestCodeGen_Enum4
(t *testing.T)
pkg/agl/codegen_test.go:1798
Function
TestCodeGen_ErrPropagationInOption
(t *testing.T)
pkg/agl/codegen_test.go:2030
Function
TestCodeGen_FunctionImplicitReturn
func TestCodeGen62(t *testing.T) { src := `package main func maybeInt() int? { return Some(42) } func getInt() int! { return Ok(42) } func main() {
pkg/agl/codegen_test.go:2221
Function
TestCodeGen_IteratorFilterMap
(t *testing.T)
pkg/agl/codegen_test.go:15804
Function
TestCodeGen_MutAliasError
func TestCodeGen_native_multi_values(t *testing.T) { src := `package agl func test() (int, int) { return 1, 2 } ` expected := `// agl:gener
pkg/agl/codegen_test.go:15761
Function
TestCodeGen_MutAliasOK
(t *testing.T)
pkg/agl/codegen_test.go:15777
Function
TestCodeGen_OperatorOverloading
func TestCodeGen_GenericMethod(t *testing.T) { src := ` type Person struct { } fn (p Person) speak[T any, U any](a T, b U) string { fmt.Println(a) }
pkg/agl/codegen_test.go:1883
Function
TestCodeGen_OsArgs
(t *testing.T)
pkg/agl/codegen_test.go:15602
Function
TestCodeGen_OsArgsWithResult
(t *testing.T)
pkg/agl/codegen_test.go:15638
Function
TestCodeGen_Reduce1
(t *testing.T)
pkg/agl/codegen_test.go:967
Function
TestCodeGen_Tmp
func TestCodeGen411(t *testing.T) { src := `package main func main() { a := []int{1, 2, 3} b := []string{"a", "b", "c"} for e := range zip2(a, b)
pkg/agl/codegen_test.go:15593
Function
TestCodeGen_Tuple1
(t *testing.T)
pkg/agl/codegen_test.go:1054
Function
TestCodeGen_Tuple2
(t *testing.T)
pkg/agl/codegen_test.go:1122
Function
TestCodeGen_TupleDestructuring1
(t *testing.T)
pkg/agl/codegen_test.go:1089
Function
TestCodeGen_TypeAssertion
(t *testing.T)
pkg/agl/codegen_test.go:2082
Function
TestCodeGen_ValueSpec2
func TestCodeGen_ValueSpec1(t *testing.T) { src := `package main func main() { var a int? = None } ` expected := `// agl:generated package main fun
pkg/agl/codegen_test.go:2293
Function
TestCodeGen_Variadic1
func TestCodeGen39(t *testing.T) { src := ` type Person struct { name string } fn (p Person) getName() string { return p.name } ` expected := `ty
pkg/agl/codegen_test.go:1252
Function
TestCodeGen_VecBuiltInFilter2
(t *testing.T)
pkg/agl/codegen_test.go:777
Function
TestCodeGen_VecBuiltInFilter3
(t *testing.T)
pkg/agl/codegen_test.go:802
Function
TestCodeGen_VecBuiltInFilter4
(t *testing.T)
pkg/agl/codegen_test.go:827
Function
TestCodeGen_VecBuiltInMap1
(t *testing.T)
pkg/agl/codegen_test.go:862
Function
TestCodeGen_VecBuiltInMap2
(t *testing.T)
pkg/agl/codegen_test.go:904
Function
TestCodeGen_VecBuiltInMap3
(t *testing.T)
pkg/agl/codegen_test.go:883
Function
TestCodeGen_WcExample
(t *testing.T)
pkg/agl/codegen_test.go:15676
Function
TestInfer1
(t *testing.T)
pkg/agl/infer_test.go:104
Function
TestInfer10
(t *testing.T)
pkg/agl/infer_test.go:226
Function
TestInfer11
(t *testing.T)
pkg/agl/infer_test.go:240
Function
TestInfer12
(t *testing.T)
pkg/agl/infer_test.go:255
Function
TestInfer13
(t *testing.T)
pkg/agl/infer_test.go:273
Function
TestInfer14
(t *testing.T)
pkg/agl/infer_test.go:291
Function
TestInfer15
(t *testing.T)
pkg/agl/infer_test.go:312
Function
TestInfer16
(t *testing.T)
pkg/agl/infer_test.go:325
Function
TestInfer17
(t *testing.T)
pkg/agl/infer_test.go:337
Function
TestInfer18
(t *testing.T)
pkg/agl/infer_test.go:349
Function
TestInfer19
(t *testing.T)
pkg/agl/infer_test.go:364
Function
TestInfer2
(t *testing.T)
pkg/agl/infer_test.go:116
Function
TestInfer20
(t *testing.T)
pkg/agl/infer_test.go:375
Function
TestInfer21
(t *testing.T)
pkg/agl/infer_test.go:386
Function
TestInfer22
(t *testing.T)
pkg/agl/infer_test.go:397
Function
TestInfer23
(t *testing.T)
pkg/agl/infer_test.go:409
Function
TestInfer24
(t *testing.T)
pkg/agl/infer_test.go:426
Function
TestInfer3
(t *testing.T)
pkg/agl/infer_test.go:127
Function
TestInfer4
(t *testing.T)
pkg/agl/infer_test.go:145
Function
TestInfer5
(t *testing.T)
pkg/agl/infer_test.go:162
Function
TestInfer6
(t *testing.T)
pkg/agl/infer_test.go:174
Function
TestInfer7
(t *testing.T)
pkg/agl/infer_test.go:186
Function
TestInfer8
(t *testing.T)
pkg/agl/infer_test.go:203
Function
TestInfer9
(t *testing.T)
pkg/agl/infer_test.go:216
Function
TestInferBubbleResultOnNativeTuple
(t *testing.T)
pkg/agl/infer_test.go:589
Function
TestInferOptionMapNamedFunc
(t *testing.T)
pkg/agl/infer_test.go:471
Function
TestInferOsArgs
func TestInfer1(t *testing.T) { src := ` fn fn1(a, b int) int { return a + b } fn fn2(a, b i64) i64 { return a + b } fn fn3(a, b i32) i32 { return a
pkg/agl/infer_test.go:558
Function
TestInferOsArgsMethodCall
(t *testing.T)
pkg/agl/infer_test.go:576
Function
TestInferReduceNamedFunc
(t *testing.T)
pkg/agl/infer_test.go:445
Function
TestInferReduceNamedFuncMismatch
(t *testing.T)
pkg/agl/infer_test.go:458
Function
TestInferSortedByNamedFunc
(t *testing.T)
pkg/agl/infer_test.go:485
Function
TestReplGen
(t *testing.T)
pkg/types/types_test.go:9
Function
TryCast
TryCast ...
pkg/utils/utils.go:37
Function
TryCast
TryCast ...
pkg/agl/utils.go:181
Function
TryCast
TryCast ...
language_server/main.go:287
Method
Unwrap
()
pkg/agl/core/core.go:147
Method
UnwrapOr
(d T)
pkg/agl/core/core.go:97
Method
UnwrapOr
(d T)
pkg/agl/core/core.go:158
Method
UnwrapOrDefault
()
pkg/agl/core/core.go:104
Method
UnwrapOrDefault
()
pkg/agl/core/core.go:165
Method
Update
Update replaces an old node in the comment map with the new node and returns the new node. Comments that were associated with the old node are associa
pkg/ast/commentmap.go:229
Method
Visit
(node ast.Node)
pkg/parser/resolver.go:250
Method
Visit
(node Node)
pkg/ast/walk.go:460
Method
Write
Write calls encode to serialize the file set s.
pkg/token/serialize.go:48
Method
Write
(p []byte)
language_server/main.go:651
Method
__EQ
(rhs T)
experiments/equatable_vec/main.go:31
← previous
next →
2,001–2,100 of 2,276, ranked by callers