you can type check this in static languages too if the type system supports structural typing [0]
536 karma · joined May 11, 2014
That said, mermaid looks pretty nice —- going to try that out for my design documents once settled on an approach.
Haskell for example requires to be explicit about this:
y = (read "5" :: Int) + 5[1]: https://downloads.haskell.org/~ghc/8.0.1/docs/html/users_gui...