[MOD] trying old stuff on julia 1.2
This commit is contained in:
parent
9af4f44f78
commit
c730234884
|
@ -1,4 +1,4 @@
|
|||
abstract Shape
|
||||
abstract type Shape end
|
||||
|
||||
type Circle <: Shape
|
||||
x::Float64
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
abstract type Expression end
|
||||
|
||||
function evaluate(exp::Expression,ctx::Context)
|
||||
error("Must implement evaluate", typeof(exp), ", ctx)")
|
||||
end
|
Loading…
Reference in New Issue