You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-7Lines changed: 27 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ h(1, 2)(1) # => 14
76
76
77
77
Note there're some restrictions to the generalized generated functions yet:
78
78
79
-
- Multiple dispatch is not allowed, and `f(x) = ...` is equivalent to `f = x -> ...`. This will never gets supported for it needs a thorough implementation of multuple dispatch in GG.
79
+
- Multiple dispatch is not allowed, and `f(x) = ...` is equivalent to `f = x -> ...`. This will never gets supported for it needs a thorough implementation of multiple dispatch in GG.
80
80
- Comprehensions for generated functions are not implemented yet. It won't cost a long time for being supported.
81
81
82
82
The evaluation module can be specified in this way:
@@ -87,9 +87,10 @@ julia> module S
87
87
end
88
88
Main.S
89
89
90
-
julia>@gg m functiong(m::Module, y) :(run(y)) end
91
-
# the global variable `run` is from the module `m`
0 commit comments