Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
just :: NullableFieldProjection typ typ' => SqlExpr (Value typ) -> SqlExpr (Value (Maybe typ'))esqueleto Database.Esqueleto.Legacy Analogous to Just, promotes a value of type typ into one of type Maybe typ. It should hold that val . Just === just . val. This function will try not to produce a nested Maybe. This is in accord with how SQL represents NULL. That means that just . just = just. This behavior was changed in v3.6.0.0. If you want to produce nested Maybe, see just'.
just :: forall (m :: Type -> Type) a . Monad m => Predicate m a -> Predicate m (Maybe a)skeletest Skeletest.Internal.Predicate A predicate checking if the input is Just, wrapping a value matching the given predicate.
>>> Just 1 `shouldSatisfy` P.just (P.gt 0)
just :: forall (m :: Type -> Type) a . Monad m => Predicate m a -> Predicate m (Maybe a)skeletest Skeletest.Predicate A predicate checking if the input is Just, wrapping a value matching the given predicate.
>>> Just 1 `shouldSatisfy` P.just (P.gt 0)
-
express Data.Express.Fixtures The Just constructor lifted over the Expr type. This works for the Bool, Int, Char argument types and their lists.
> just zero Just 0 :: Maybe Int > just false Just False :: Maybe Bool
just :: (Applicative f, Traversable g) => AdapterLike f g (Maybe a) (Maybe b) a blens-family-core Lens.Family.Stock just :: Prism (Maybe a) (Maybe b) a b
A prism on the Just element of a Maybe.-
chell Test.Chell Assert that some value is Just.
just :: ProjectableMaybe p => p a -> p (Maybe a)relational-query Database.Relational.Arrow Cast record phantom type into Maybe.
just :: ProjectableMaybe p => p a -> p (Maybe a)relational-query Database.Relational.Projectable Cast record phantom type into Maybe.
just :: Record c r -> Record c (Maybe r)relational-query Database.Relational.Record Cast into Maybe on record phantom type.
-
code-conjure Conjure.Engine The Just constructor lifted over the Expr type. This works for the Bool, Int, Char argument types and their lists.
> just zero Just 0 :: Maybe Int > just false Just False :: Maybe Bool