Skip to content

Updates [Draft] #101

@pawanmsr

Description

@pawanmsr

Hi:

[Draft]

Minor Content Updates

ghci> :t "Hello!"
"Hello!" :: String
ghci> :t ['h','e','l','l','o']
['h','e','l','l','o'] :: [Char]


-- Maybe unimportant
ghci> :t head
head :: GHC.Stack.Types.HasCallStack => [a] -> a

To Reproduce

ghci

# Program and library.

ghc program.hs
cabal build

Expected behavior

Mention String data type.

Desktop

The Glorious Glasgow Haskell Compilation System, version 9.6.7

Additional context

String data type instead of List of Char.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions