File: Link.hs

package info (click to toggle)
haskell-foundation 0.0.30-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 932 kB
  • sloc: haskell: 9,124; ansic: 570; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{-# LANGUAGE TemplateHaskell   #-}

-- | This module is to test issue
-- https://github.com/haskell-foundation/foundation/issues/326
--
-- this test has been originaly proposed by https://github.com/RyanGlScott
-- in comment of the issue 326:
-- https://github.com/haskell-foundation/foundation/issues/326#issuecomment-309219955

module Main (main) where

import Foundation as F
import Language.Haskell.TH

main :: IO ()
main = $(do runIO $ F.putStrLn (F.fromString "Hello")
            [| return () |])