Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WschW authored Oct 14, 2018
1 parent 971df38 commit 0350583
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ pseudo structural inheritance for the Julia language

## Example
```Julia
using StructuralInheritance

julia> using StructuralInheritance
[ Info: Recompiling stale cache file /Users/prime/.julia/compiled/v1.0/StructuralInheritance/Z6bEM.ji for StructuralInheritance [8444d97c-b5e1-11e8-1bb1-4d91caf0c934]

julia> @protostruct struct A
fieldFromA::Int
Expand Down Expand Up @@ -67,4 +64,4 @@ julia> getFieldA(C(3,"ok","c's new field"))

![Eaxmple structural inheritence diagram](InheritenceExampleDiagram.png)

## Note: parametric inheritence is not yet supported
## Note: inheriting from a specialized parametric struct is not currently supported

0 comments on commit 0350583

Please sign in to comment.