Could someone explain how to understand this notation:
((a, b) → a) → a → [b] → a
Could someone explain how to understand this notation:
((a, b) → a) → a → [b] → a
On
I believe its Hindley-Milner notation: https://drboolean.gitbooks.io/mostly-adequate-guide-old/content/ch7.html
This is a function that takes three arguments (1) (2) (3) and returns a value of type
a(4):abIn this case
astands for thenumbertype andbstands for thestringtype.