We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ca4b5 commit 9f02fe3Copy full SHA for 9f02fe3
1 file changed
src/DataFrame/Functions.hs
@@ -280,7 +280,7 @@ recodeWithDefault d mapping =
280
(Maybe.fromMaybe d . (`lookup` mapping))
281
282
firstOrNothing :: (Columnable a) => Expr [a] -> Expr (Maybe a)
283
-firstOrNothing = lift Maybe.listToMaybe
+firstOrNothing = UnaryOp "firstOrNothing" Maybe.listToMaybe
284
285
lastOrNothing :: (Columnable a) => Expr [a] -> Expr (Maybe a)
286
lastOrNothing = lift (Maybe.listToMaybe . reverse)
0 commit comments