nyarumes has quit [Read error: Connection reset by peer]
Perelandric has quit [Ping timeout: 250 seconds]
mrkishi has joined #ponylang
SilverKey has quit [Quit: Halted.]
montanonic has quit [Ping timeout: 260 seconds]
montanonic has joined #ponylang
jemc has quit [Ping timeout: 276 seconds]
mrkishi has quit [Ping timeout: 240 seconds]
montanonic has quit [Ping timeout: 250 seconds]
mrkishi has joined #ponylang
jemc has joined #ponylang
amclain has quit [Quit: Leaving]
montanonic has joined #ponylang
jemc has quit [Ping timeout: 246 seconds]
tm-exa has joined #ponylang
tm-exa has quit [Quit: Computer has gone to sleep]
mrkishi has quit [Ping timeout: 252 seconds]
AndroUser2 has joined #ponylang
tm-exa has joined #ponylang
AndroUser2 has quit [Read error: Connection reset by peer]
mrkishi has joined #ponylang
montanonic has quit [Ping timeout: 276 seconds]
mrkishi has quit [Read error: Connection reset by peer]
ob_ has joined #ponylang
gsteed has joined #ponylang
ob_ has quit [Ping timeout: 252 seconds]
montanonic has joined #ponylang
trapped has joined #ponylang
nyarumes has joined #ponylang
<montanonic>
If you have a function with multiple sources of errors, how can you indicate what the cause of failure was, given that `error` has no type? Is the idea to perhaps use your own failure type in those cases, such as the FP idioms of Result/Either?
<doublec>
montanonic: yes, that's the idea
* montanonic
nods
<montanonic>
Any good technique to terminate a program early?
<montanonic>
I'm writing some quick 'n' dirty code and don't want to handle errors, I just want it to crash at any failure point and give an error message.
<montanonic>
I understand this is quite antithetical to the idea of Pony, so I wouldn't be surprised if it wasn't well supported to do anything like that at this stage. But, if there is a good approach to this, I'd like to know.
_andre has joined #ponylang
<doublec>
montanonic: use the ffi to call abort or exit?
<montanonic>
doublec: ah, okay, thanks.
TwoNotes has joined #ponylang
montanonic has quit [Ping timeout: 250 seconds]
trapped has quit [Read error: Connection reset by peer]
SilverKey has joined #ponylang
jemc has joined #ponylang
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
runehog has quit [Remote host closed the connection]
amclain has joined #ponylang
unbalancedparen has joined #ponylang
tm-exa has quit [Ping timeout: 244 seconds]
tm-exa has joined #ponylang
Perelandric has joined #ponylang
runehog has joined #ponylang
SilverKey has quit [Read error: Connection reset by peer]
SilverKey has joined #ponylang
SilverKey has quit [Quit: Halted.]
Matthias247 has joined #ponylang
SilverKey has joined #ponylang
c355e3b has quit [Quit: Connection closed for inactivity]
TwoNotes has quit [Quit: Leaving.]
SilverKey has quit [Quit: Halted.]
jemc has quit [Ping timeout: 240 seconds]
c355e3b has joined #ponylang
jemc has joined #ponylang
tm-exa has quit [Quit: Computer has gone to sleep]
_andre has quit [Ping timeout: 244 seconds]
_andre has joined #ponylang
SilverKey has joined #ponylang
tm-exa has joined #ponylang
_andre has quit [Quit: leaving]
unbalancedparen has quit [Quit: WeeChat 1.5]
emancu has quit []
jemc has quit [Ping timeout: 252 seconds]
runehog has quit [Remote host closed the connection]
tm-exa has quit [Quit: Computer has gone to sleep]
montanonic has joined #ponylang
tm-exa has joined #ponylang
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
nyarumes has quit [Read error: Connection reset by peer]
nyarumes has joined #ponylang
runehog has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
tm-exa has quit [Quit: Computer has gone to sleep]