Initial commit
This commit is contained in:
commit
c101616e62
309 changed files with 53937 additions and 0 deletions
19
bundled/Basement/Show.hs
Normal file
19
bundled/Basement/Show.hs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{-# LANGUAGE BangPatterns #-}
|
||||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE RebindableSyntax #-}
|
||||
{-# LANGUAGE NoImplicitPrelude #-}
|
||||
module Basement.Show
|
||||
where
|
||||
|
||||
import qualified Prelude
|
||||
import Basement.Compat.Base
|
||||
import Basement.UTF8.Base (String)
|
||||
|
||||
-- | Use the Show class to create a String.
|
||||
--
|
||||
-- Note that this is not efficient, since
|
||||
-- an intermediate [Char] is going to be
|
||||
-- created before turning into a real String.
|
||||
show :: Prelude.Show a => a -> String
|
||||
show = fromList . Prelude.show
|
||||
Loading…
Add table
Add a link
Reference in a new issue