DEV Community

Discussion on: How to use Dependency Injection in Functional Programming

Collapse
 
redbar0n profile image
Magne

ReScript still is like "yeah, somewhere your stuff is broke". "Hey, uh... ReScript, how about a... you know... line number to start my investigation, eh, what do you think?" "No, good luck!" Elm's all line numbers, and formatted, and colors, and pretty, and friendly, and hinty... it's just night and day.

When I try the example code at the ReScript playground, and insert an error, then it gives the line number..?

"
Type Errors
[E] Line 11, column 14:

The value ms can't be found
"

Thread Thread
 
jesterxl profile image
Jesse Warden • Edited

Welcome to the party, pal!

Thread Thread
 
redbar0n profile image
Magne

I meant it as a question, since you said it doesn't give the line number.

Thread Thread
 
jesterxl profile image
Jesse Warden

Oh haha, my bad. Yeah, sometimes it does, other times it's like "somewhere". ReScript compiler is "good", I'm just whiny and expect a lot!