Prelude.purs 332 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
module Gargantext.Prelude (module Prelude, logs)
  where

import Prelude hiding (div)
import Effect.Console (log)
import Effect.Class   -- (MonadEffect(), liftEffect) -- TODO fix import


logs:: forall message effect.
       (MonadEffect effect) => Show message => message 
       -> effect Unit
logs = liftEffect <<< log <<< show