Skip to content

Instantly share code, notes, and snippets.

@marick
Created February 22, 2017 20:26
Show Gist options
  • Save marick/b3ca00c820b1106f62b50342ac8eb1da to your computer and use it in GitHub Desktop.
Save marick/b3ca00c820b1106f62b50342ac8eb1da to your computer and use it in GitHub Desktop.
type alias FormCommon more =
{ more
| id : Id
, sortKey : String -- Distinct from name so that changing the name
-- doesn't cause list entries to change position
, effectiveDate : DateHolder
, intendedVersion : Int
, species : Namelike
, name : Css.FormValue Namelike
, tags : List Namelike
, tentativeTag : String
, properties : Properties
, status : Css.FormStatus
}
type alias EditFields = FormCommon { originalAnimal : Animal }
type alias CreationalFields = FormCommon {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment