mirror of
https://github.com/tweag/nickel.git
synced 2024-10-05 07:37:09 +03:00
Update doc/manual/typing.md
Co-authored-by: Arnaud Spiwack <arnaud.spiwack@tweag.io>
This commit is contained in:
parent
99fc9473e8
commit
c282837f28
@ -412,7 +412,7 @@ function (it is actually part of the standard library as `lists.filter`) while
|
||||
being likely to be called from dynamically typed configuration files. In this
|
||||
situation, the call site escapes the typechecker. Thus, without an additional
|
||||
mechanism, static typing would only ensure that the implementation of `filter`
|
||||
doesn't violate the typing rules, but wouldn't prevent a ill-formed call from
|
||||
doesn't violate the typing rules, but wouldn't prevent an ill-formed call from
|
||||
dynamically typed code. At first sight, we haven't solved at all the main issue
|
||||
of delayed dynamic type errors that static typing was supposed to solve in the
|
||||
first place! Remember, the typical problem is the caller passing an value of the
|
||||
|
Loading…
Reference in New Issue
Block a user