minus-squaresteersman2484@sh.itjust.workstoProgramming@programming.dev•Unison | A friendly, statically-typed, functional programming language from the future · Unison programming languagelinkfedilinkarrow-up0·2 years agoYes, in functional programming you want to use pure functions. Exceptions are impure, therefore it has to be declared. Other functional languages don’t even have exceptions linkfedilink
minus-squaresteersman2484@sh.itjust.workstoProgramming@programming.dev•Unison | A friendly, statically-typed, functional programming language from the future · Unison programming languagelinkfedilinkarrow-up1·2 years agoThere are no imports, these are type annotations linkfedilink
Yes, in functional programming you want to use pure functions. Exceptions are impure, therefore it has to be declared.
Other functional languages don’t even have exceptions