Skip to content

Commit

Permalink
Rel 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
goedman committed Jul 29, 2020
1 parent 0257ff5 commit 40b896e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StructuralCausalModels"
uuid = "a41e6734-49ce-4065-8b83-aff084c01dfd"
authors = ["Rob J Goedman <[email protected]>"]
version = "0.1.0"
version = "0.1.1"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
19 changes: 19 additions & 0 deletions research/ops.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using StructuralCausalModels
import StructuralCausalModels.SymbolList


import Base.-

-(x::SymbolList, y::SymbolList) = (type=:line, x=x, y=y)

(x, y) = (type=:darrow, x=x, y=y)

(x, y) = (type=:rarrow, x=x, y=y)

println(:b - :A)
println(:b [:A, :D])
println([:X, :T] :A)

m = (:b - :A, [:X, :T] :A, :b [:A, :D])

m[3] |> display

0 comments on commit 40b896e

Please sign in to comment.