Why does this form not violate the type signature for `$`?
1 answer
If you try
(($) 1) plus1
you will get the expected type error.
A special syntax ($ 1)is called a section and denotes \x -> x $ 1that differs from a simple application ($) 1. This syntax can be used with all infix operators (*), for example. (+ 1)or (* 4).
(*) Except -, since (- 10)is a negative constant -10.
+15