mirror of
https://github.com/tweag/ormolu.git
synced 2024-09-11 13:16:13 +03:00
13 lines
255 B
Haskell
13 lines
255 B
Haskell
lenses =
|
|
Just $
|
|
M.fromList $
|
|
"type"
|
|
.= ("user.connection" :: Text)
|
|
# "connection"
|
|
.= uc
|
|
# "user"
|
|
.= case name of
|
|
Just n -> Just $ object ["name" .= n]
|
|
Nothing -> Nothing
|
|
# []
|