Replace FunctionCode
type alias with enum
#236
Merged
FunctionCode
type alias with enum
#236