Last active
April 22, 2017 00:32
-
-
Save axman6/378565f01e768c27e3612082b91e601f to your computer and use it in GitHub Desktop.
Haskell multiline string problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allPowerStationsQuery :: Query () (Vector PowerStation2) | |
allPowerStationsQuery = | |
statement | |
"SELECT participant, station_name, region, dispatch_type, \ | |
\ category, classification, fuel_source_primary,\ | |
\ fuel_source_descriptor, tech_type_primary,\ | |
\ physical_unit_no, unit_size_m_w, aggregation,\ | |
\ duid, reg_cap_m_w, max_cap_m_w, max_r_o_c_per_min\ | |
\FROM duid_location;" | |
enc dec True | |
where | |
enc = E.unit | |
dec = rowsVector powerStationDecoder | |
{- | |
error: | |
lexical error in string/character literal at character 'c' | |
-} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment