I guess they do, but I thought I’d ask anyway. I mean, in Jane Street Base hd
/tl
return options and hd_exn
/tl_exn
throw. Should we expect _exn
behavior to be the default behavior in Reason? And why? For perf? For boilerplate reduction? For more comfortable logging?
Are functions like List.hd throwing instead of returning options by design
hoichi
#1