Created
August 19, 2021 08:28
-
-
Save kuribas/90201dd14089bec6b9fd38cd650b9c2a to your computer and use it in GitHub Desktop.
This file contains 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
data Ld_model_turine = Ld_model_turbine | |
{ standard_power_curve_key :: Text | |
, cut_in_wind_speed :: Double | |
, cut_out_wind_speed :: Double | |
, rotor_modeL_sqid :: Maybe SQID | |
, transmission_model_sqid :: Maybe SQID | |
, generator_model_sqid :: Maybe SQID | |
, n_generators :: Int | |
, nacelle_model_sqid :: Maybe SQID | |
, yaw_model_sqid :: Maybe SQID | |
, tower_model_sqid :: Maybe SQID | |
} | |
deriving (Show, Generic, Eq, Default) | |
deriving (FromNamedRecord, ToNamedRecord) | |
via Model.WithSpaces Ld_model_turbine | |
data TurbineModelFields = TurbineModelFields | |
{ ld_model_turbine :: Ld_model_turbine | |
, model_f_ac :: Model.Model_f_ac | |
, model_f_bearings :: Model.Model_f_bearings | |
} | |
deriving (Show, Generic, Eq, Default) | |
deriving (FromNamedRecord, ToNamedRecord) | |
via Merged TurbineModelFields | |
src/Snapshot/CSV.hs:443:25: error: … | |
• Expecting 10 more arguments to ‘Ld_model_turbine’ | |
Expected a type, but | |
‘Ld_model_turbine’ has kind | |
‘Text | |
-> Double | |
-> Double | |
-> Maybe SQID | |
-> Maybe SQID | |
-> Maybe SQID | |
-> Int | |
-> Maybe SQID | |
-> Maybe SQID | |
-> Maybe SQID | |
-> Ld_model_turine’ | |
• In the type ‘Ld_model_turbine’ | |
In the definition of data constructor ‘TurbineModelFields’ | |
In the data declaration for ‘TurbineModelFields’ | |
| | |
Compilation failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment