Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setName :: Lens' NetlistEnv (Maybe Text)clash-lib Clash.Netlist.Types No documentation available.
setRepName :: Text -> Name a -> Name aclash-lib Clash.Netlist.Util No documentation available.
setupMultiResultPrim :: HasCallStack => NormRewriteclash-lib Clash.Normalize.Transformations.MultiPrim No documentation available.
setChanged :: RewriteMonad extra ()clash-lib Clash.Rewrite.Util Notify that a transformation has changed the expression
setUnique :: Uniquable a => a -> Unique -> aclash-lib Clash.Unique No documentation available.
setLogAction :: HasLog env msg m => LogAction m msg -> env -> envco-log Colog.Monad Sets LogAction to the given one inside the environment.
set_tuple_element :: (IsSource a1, IsRegister a2) => a1 -> a2 -> Int -> Opcodec-beam Codec.Beam.Instructions Update the element at position of the tuple in register with the new source element.
setProperty :: Setter' a b -> Text -> (Value -> Parser b) -> Object -> Parser (a -> a)configuration-tools Configuration.Utils.ConfigFile A JSON Value parser for a property of a given Object that updates a setter with the parsed value.
data Auth = Auth { _userId ∷ !Int , _pwd ∷ !String } userId ∷ Functor f ⇒ (Int → f Int) → Auth → f Auth userId f s = (\u → s { _userId = u }) <$> f (_userId s) pwd ∷ Functor f ⇒ (String → f String) → Auth → f Auth pwd f s = (\p → s { _pwd = p }) <$> f (_pwd s) -- or with lenses and TemplateHaskell just: -- $(makeLenses ''Auth) instance FromJSON (Auth → Auth) where parseJSON = withObject "Auth" $ \o → id <$< setProperty user "user" p o <*< setProperty pwd "pwd" parseJSON o where p = withText "user" $ \case "alice" → pure (0 ∷ Int) "bob" → pure 1 e → fail $ "unrecognized user " ⊕ esetApplicationState :: τ -> Program τ ()core-program Core.Program.Execute Update the user supplied top-level application state.
let settings' = settings { answer = 42 } setApplicationState settings'setProgramName :: Rope -> Program τ ()core-program Core.Program.Execute Override the program name used for logging, etc. At least, that was the idea. Nothing makes use of this at the moment. :/