examples
examples copied to clipboard
example suggestion: How to do multiline strings in Roc?
Inspiration: https://gist.github.com/rtfeldman/35846b441ba011fe3bfef31890591223#syntax
Clarifying question, this is the kind of example you are expecting right?
greeting = "Hello Sahil\nThis is a multi-line string"
I think more like
query =
"""
UPDATE sessions
SET user_id = \(Num.toStr user.id)
WHERE session_id = \(Num.toStr sessionId);
"""