[Agda] underscore in \neg
wjedynak at gmail.com
Sun Aug 25 13:03:27 CEST 2013
the difference is that `not` is a function, while \neg is a prefix operator.
In practice you sometimes may want to negate a big expression, say BIG.
With `not` you have a choice between
not $ BIG, (_$_ is available in the Function module)
while \neg allows also
So it's a matter of plain convenience.
2013/8/25 Sergei Meshveliani <mechvel at botik.ru>:
> (this is on Standard library lib-0.7)
> `not' is declared without underscore (which looks natural),
> and `¬_' is declared with underscore.
> Why not omit this latter underscore?
> Agda mailing list
> Agda at lists.chalmers.se
More information about the Agda