This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Infra.Resources.Config where | |
import Prelude | |
import Data.Either (Either(..), note) | |
import Dotenv as Dotenv | |
import Effect.Aff (Aff, error, makeAff, throwError) | |
import Foreign.Object (Object) | |
import Foreign.Object as Object | |
import Infra.Resources.Database.DBAdapter (MYSQL, REDIS, kind DBAdapter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
No type class instance was found for | |
Network.Wai.Router.Internal.RouteContext (Cons "user" | |
{ params :: { id :: Int | |
} | |
} | |
Nil | |
) | |
( user :: { params :: { id :: Int | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test where | |
import Prim.Row | |
import Record as Record | |
type UpdateProps r | |
= ( name :: String | |
, purgeHistoryDays :: String | |
, purgeImmediate :: String | |
, forceRestartTime :: Int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Could not match type | |
Record | |
with type | |
Function (Mod CommandFields t2) | |
while trying to match type { fold :: t0 | |
| t1 | |
} | |
with type Mod CommandFields t2 -> Parser t2 | |
while checking that expression subparser | |
has type { fold :: t0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Lib where | |
import Prelude | |
import Type.Row (type (+)) | |
import Control.Monad.Except (ExceptT(..)) | |
import Control.Monad.Except.Checked (ExceptV, handleError, safe) | |
import Data.Bifunctor (lmap) | |
import Data.Either (Either(..)) | |
import Data.Variant (SProxy(..), Variant, inj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Data.PCM where | |
import Prelude | |
import Apex.Internal (ApexError(..), Visualforce) | |
import Apex.Internal as Apex | |
import Control.Monad.Except (runExcept) | |
import Data.Array as Array | |
import Data.Bifunctor (lmap) | |
import Data.Either (Either) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports._getVisualforce = function(just){ | |
return function(nothing){ | |
if (typeof Visualforce !== "undefined" && | |
typeof Visualforce.remoting !== "undefined" && | |
typeof Visualforce.remoting.Manager !== "undefined") { | |
return just(Visualforce); | |
} | |
else { | |
return nothing; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Apex where | |
import Prelude | |
import Data.Symbol (class IsSymbol) | |
import Foreign (Foreign) | |
foreign import kind RemoteActionMethod | |
data RemoteActionProxy (action :: RemoteActionMethod) = RemoteActionProxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module DesignSystem.Components.ComboBox where | |
import DesignSystem.Components.Internal (_comboBoxImpl) | |
import React.Basic (JSX, element) | |
import React.Basic.Events (EventHandler) | |
import Prim.Row | |
type ComboboxProps | |
= ( assistiveText :: String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Component.FileUploader where | |
import Prelude | |
import Control.Monad.Except (ExceptT(..), catchError, runExceptT) | |
import Control.Monad.Maybe.Trans (MaybeT(..), runMaybeT) | |
import Control.MonadZero (guard) | |
import Control.Plus (empty) | |
import Data.Array as Array | |
import Data.Bifunctor (lmap) |