File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"cells" : [
3
+ {
4
+ "cell_type" : " markdown" ,
5
+ "id" : " a74307d3-b810-4f9d-9663-d5b0030357ae" ,
6
+ "metadata" : {},
7
+ "source" : [
8
+ " * Campy\n " ,
9
+ " * Add more complicated example\n " ,
10
+ " * Change fonts\n " ,
11
+ " * Make sure examples are done"
12
+ ]
13
+ },
3
14
{
4
15
"cell_type" : " markdown" ,
5
16
"id" : " a611c138-1afd-4d6f-9578-4f358d2438eb" ,
2153
2164
" \n " ,
2154
2165
" * Add support for Python objects as builtin sort\n " ,
2155
2166
" * Investigate trying to adopt in data science libraries, such as Ibis\n " ,
2156
- " * Upstream egglog improvements which could help with reuse (parametric user defined types)"
2167
+ " * Upstream egglog improvements which could help with reuse (first class functions, parametric user defined types)"
2157
2168
]
2158
2169
},
2159
2170
{
2169
2180
"source" : [
2170
2181
" ## Thank you!\n " ,
2171
2182
" \n " ,
2183
+ " \n " ,
2172
2184
" ```bash\n " ,
2173
2185
" pip install egglog\n " ,
2174
2186
" ```\n " ,
2175
2187
" \n " ,
2176
- " *Source available at [github.com/metadsl/egglog-python](https://github.com/metadsl/egglog-python)*"
2188
+ " *Source available at [github.com/metadsl/egglog-python](https://github.com/metadsl/egglog-python)*\n " ,
2189
+ " \n " ,
2190
+ " Any questions?\n "
2177
2191
]
2192
+ },
2193
+ {
2194
+ "cell_type" : " code" ,
2195
+ "execution_count" : null ,
2196
+ "id" : " 8470a5af-76e9-4186-9a25-4ac95be0ee97" ,
2197
+ "metadata" : {},
2198
+ "outputs" : [],
2199
+ "source" : []
2178
2200
}
2179
2201
],
2180
2202
"metadata" : {
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ and also will make sure the variables won't be used outside of the scope of the
338
338
# egg: (rewrite (Add a b) (Add b a))
339
339
340
340
@egraph.register
341
- def _math(a: Math, b: Math)
341
+ def _math(a: Math, b: Math):
342
342
yield rewrite(a * b).to(b * a)
343
343
yield rewrite(a + b).to(b + a)
344
344
```
You can’t perform that action at this time.
0 commit comments