1{-# LANGUAGE NoImplicitPrelude #-}
3module Options (module Options) where
11optsDefault = defaultOptions
12 { fieldLabelModifier = map toLower
13 , constructorTagModifier = map toLower
16opts2ElemArray :: Options
17opts2ElemArray = optsDefault
18 { allNullaryToStringTag = False
19 , sumEncoding = TwoElemArray
22optsUnwrapUnaryRecords :: Options
23optsUnwrapUnaryRecords = optsDefault
24 { unwrapUnaryRecords = True
27optsTaggedObject :: Options
28optsTaggedObject = optsDefault
29 { allNullaryToStringTag = False }
31optsObjectWithSingleField :: Options
32optsObjectWithSingleField = optsDefault
33 { allNullaryToStringTag = False
34 , sumEncoding = ObjectWithSingleField
37optsOmitNothingFields :: Options
38optsOmitNothingFields = optsDefault
39 { omitNothingFields = True
42optsUntaggedValue :: Options
43optsUntaggedValue = optsDefault
44 { sumEncoding = UntaggedValue
47optsTagSingleConstructors :: Options
48optsTagSingleConstructors = optsDefault
49 { tagSingleConstructors = True
50 , allNullaryToStringTag = False
53optsOptionField :: Options
54optsOptionField = optsDefault
55 { fieldLabelModifier = const "field"
56 , omitNothingFields = True
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list