Beginners
Threads by month
- ----- 2025 -----
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
February 2016
- 46 participants
- 23 discussions
Hi,
I am trying to run this basic multiline code in GHCi. I am not sure if this
is even possible without writing it in a file and compiling it in a
traditional way.
-------
Prelude> :set +m
Prelude> let main1 = do
Prelude| a <- readLn
Prelude| return a
Prelude|
Prelude>
Prelude> main1
<interactive>:75:1:
No instance for (Show (IO b0)) arising from a use of `print'
In the first argument of `print', namely `it'
In a stmt of an interactive GHCi command: print it
-------
Could someone please confirm if the function can be defined and called like
this in GHCi or point to where am going wrong.
Thanks,
Shishir Srivastava
5
9
This is more about programming in general than Haskell, although Haskellers
probably know it well.
I don't claim to have expert knowledge on this, but I'm gradually getting
better at it.
When I set out to write a program, or refactor a program, or modify a
program, it helps to set out my thinking in a clear way. And how I make it
clear is to document my thoughts.
An outline is one good way to organize thoughts and is probably my main
tool. But good English prose is also helpful.
The key factor is "editing." In what sense do I mean that? Good writers do
it, and the Haskell documentation does it. I mean (1) brevity and (2) good
flow. To achieve brevity, you must think about the essence of each
statement and trim away the unnecessary stuff. Good flow refers to how the
document builds up and modifies your concepts as you read it. A document
can actually mirror an effective learning process, or influence and change
your process.
I work with my documentation, making several editing passes. By the time
I'm done, I am in a great position to write a concise and flexible program.
It's interesting that not only is Haskell a concise language, but the
Haskell library documentation is concise. Contrast that with the Python
documentation which often wanders about into areas that are irrelevant--it
could easily be cut into one third its present size.
Mike
12
19

26 Feb '16
Hi Beginners,
I'm finally getting my hands dirty with Stack, and am using it in
conjunction with Docker, but not with the built-in docker functionality.
My Dockerfile is constructed so that it first installs a whole bunch of
dependencies globally, like so:
...
RUN stack install HUnit
...
Then after that, installs the project:
...
COPY . /app
WORKDIR /app
RUN stack install
...
This means that on repeated docker builds the app build and install time
should be limited to just the application itself, because the dependency
builds were cached. Which is great! However, I'm currently generating the
list of dependencies just by looking at the output of the stack build of
the app, and this displays everything as a flat list.
I'd like to see some kind of tree instead, so that when I pre-install the
dependencies, I can specify a minimal list, rather than a whole slew of
dependencies that would be pulled in transitively anyway.
Is there an easy way to do this?
Regards,
- Lyndon
4
7
Hi,
I’m trying to build up a list of all folders (including subfolders) from a given root folder.
So I have
folders :: FilePath -> IO [FilePath]
folders fp = do
all <- getDirectoryContents fp
filterM doesDirectoryExist $ map (fp </>) all
and this just gets the immediate folders within the given folder.
I’m stuck on how to recursively call folders and build up the IO [FilePath]
folders :: FilePath -> IO [FilePath]
folders fp = do
all <- getDirectoryContents fp
-- z :: IO [FilePath]
let z = filterM doesDirectoryExist $ map (fp </>) all
— z’ :: [FilePath]
z' <- z
— ?? what should happen here?
z : (map folders z’)
Couldn't match expected type ‘[FilePath]’
with actual type ‘IO [FilePath]’
In the first argument of ‘(:)’, namely ‘z’
In a stmt of a 'do' block: z : (map folders z')
etc...
Thanks
Mike
3
4
Hi all,
Greetings from me!
I am confused about the function parameters and tuple. E.g.:
occurs value [] = 0
occurs value (x:xs) = (if value == x then 1 else 0) + occurs value xs
should we consider (x:xs) as a tuple?
Thanks in advance!
Best Regards
Nan Xiao
7
9
I recently realized one important reason Haskell is so compact---it
provides structures that avoid the need to name intermediate variables. I
guess it's obvious, but coming from an imperative background I didn't see
this at first. I am starting to recognize situations where all the existing
wonderful typeclasses assist in eliminating variables.
Function composition is the simplest example. I sometimes write long chains
of composed functions. In an imperative language with a less compact
function call syntax, that would require so many parentheses that you would
probably break it over several statements, then forcing you to use more
variables.
Then I realized that Arrows allow a little more flexibility when you have
different numbers of arguments to feed, say when you split a single
argument into two, or want to construct a function that applies to one
argument and ignores the other.
...So I had to write something like this.
compute :: [Int] -> [Int] -> [Int] -> [(Int,Int)]
func :: [Int] -> [(Int,Int)]
func xs = compute xs (filter isSmall xs) (filter isLarge xs)
but I could also write
compute :: ([Int],([Int],[Int])) -> [(Int,Int)]
func = compute . (id &&& filter isSmall &&& filter isLarge)
So I had to change the inputs to 'compute' into this kind of awkward tuple
form, but I eliminated four 'xs', plus eliminated the need to come up with
the name 'xs'.
Can I get a comment on whether this makes sense as way to do things?
D
2
2
Hello
I try to mix my C library and the Pipe module
here the code I am using
solveTraj :: Factory -> Geometry -> Detector -> Sample -> Pipe Engine Geometry IO ()
solveTraj f g d s = do
e <- await
let name = engineName e
withSample s $ \sample ->
withDetector d $ \detector ->
withGeometry f g $ \geometry ->
withEngineList f $ \engines ->
withCString name $ \cname -> do
c_hkl_engine_list_init engines geometry detector sample
engine <- c_hkl_engine_list_engine_get_by_name engines cname nullPtr
n <- c_hkl_engine_pseudo_axis_names_get engine >>= darrayStringLen
yield $ solve' engine n e >>= getSolution0
where
getSolution0 :: ForeignPtr HklGeometryList -> IO Geometry
And I am using this like this
runEffect $ for (each engines) >-> solveTraj factory geometry detector sample >-> P.print
where
[Engine]
engines
But When I compile the code I get this error.
src/Hkl/C.hsc:83:3:
Couldn't match type `IO' with `Proxy () Engine () Geometry IO'
Expected type: Proxy () Engine () Geometry IO ()
Actual type: IO ()
In a stmt of a 'do' block:
withSample s
$ \ sample
-> withDetector d
$ \ detector -> withGeometry f g $ \ geometry -> ...
In the expression:
do { e <- await;
let name = engineName e;
withSample s $ \ sample -> withDetector d $ \ detector -> ... }
In an equation for `solveTraj':
solveTraj f g d s
= do { e <- await;
let name = ...;
withSample s $ \ sample -> withDetector d $ ... }
src/Hkl/C.hsc:91:19:
Couldn't match type `Proxy x'0 x0 () (IO Geometry) m0' with `IO'
Expected type: IO ()
Actual type: Proxy x'0 x0 () (IO Geometry) m0 ()
In a stmt of a 'do' block:
yield $ solve' engine n e >>= getSolution0
In the expression:
do { c_hkl_engine_list_init engines geometry detector sample;
engine <- c_hkl_engine_list_engine_get_by_name
engines cname nullPtr;
n <- c_hkl_engine_pseudo_axis_names_get engine >>= darrayStringLen;
yield $ solve' engine n e >>= getSolution0 }
In the second argument of `($)', namely
`\ cname
-> do { c_hkl_engine_list_init engines geometry detector sample;
engine <- c_hkl_engine_list_engine_get_by_name
engines cname nullPtr;
.... }'
I do not understand why the yield does not produce the right type as output.
I think I missed something big :), but...
Thanks for your help
Fred
2
13

21 Feb '16
Hello !
I tried to build xmonad on Mac OS X 10.11.3 El Capitan and, it fails. For details see the below log.
Installed is the latest Haskell Platform 7.10.3 and the latest CLI tools for Xcode. The platform itself works because I build Hakyll before without problems.
Thanks for ideas.
The username is replaced by USER.
Configuring X11-1.6.1.2...
Dependency base ==4.8.2.0: using base-4.8.2.0
Dependency data-default ==0.5.3: using data-default-0.5.3
Using Cabal-1.22.5.0 compiled by ghc-7.10
Using compiler: ghc-7.10.3
Using install prefix: /Users/USER/Library/Haskell
Binaries installed in: /Users/USER/Library/Haskell/bin
Libraries installed in:
/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/X11-1.6.1.2
Private binaries installed in:
/Users/USER/Library/Haskell/libexec
Data files installed in:
/Users/USER/Library/Haskell/share/ghc-7.10.3-x86_64/X11-1.6.1.2
Documentation installed in:
/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/X11-1.6.1.2/doc
Configuration files installed in:
/Users/USER/Library/Haskell/etc
Using alex version 3.1.4 found on system at: /usr/local/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.10.3 found on system at: /usr/local/bin/ghc
Using ghc-pkg version 7.10.3 found on system at: /usr/local/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.1 found on system at: /usr/local/bin/haddock
Using happy version 1.19.5 found on system at: /usr/local/bin/happy
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /usr/local/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/local/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No pkg-config found
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
sh ./configure '--with-compiler=ghc' '--prefix=/Users/USER/Library/Haskell' '--bindir=/Users/USER/Library/Haskell/bin' '--libdir=/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib' '--libexecdir=/Users/USER/Library/Haskell/libexec' '--datadir=/Users/USER/Library/Haskell/share' '--sysconfdir=/Users/USER/Library/Haskell/etc' '--with-gcc=/usr/bin/gcc'
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to build Xinerama... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking X11/extensions/Xrandr.h usability... yes
checking X11/extensions/Xrandr.h presence... yes
checking for X11/extensions/Xrandr.h... yes
checking whether to build XScreenSaver... yes
checking X11/extensions/scrnsaver.h usability... yes
checking X11/extensions/scrnsaver.h presence... yes
checking for X11/extensions/scrnsaver.h... yes
checking whether to include X.org keysyms... yes
checking X11/keysym.h usability... yes
checking X11/keysym.h presence... yes
checking for X11/keysym.h... yes
checking X11/DECkeysym.h usability... yes
checking X11/DECkeysym.h presence... yes
checking for X11/DECkeysym.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking X11/ap_keysym.h usability... yes
checking X11/ap_keysym.h presence... yes
checking for X11/ap_keysym.h... yes
checking X11/HPkeysym.h usability... yes
checking X11/HPkeysym.h presence... yes
checking for X11/HPkeysym.h... yes
checking X11/XF86keysym.h usability... yes
checking X11/XF86keysym.h presence... yes
checking for X11/XF86keysym.h... yes
checking X11/keysymdef.h usability... yes
checking X11/keysymdef.h presence... yes
checking for X11/keysymdef.h... yes
checking X11/cursorfont.h usability... yes
checking X11/cursorfont.h presence... yes
checking for X11/cursorfont.h... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating X11.buildinfo
config.status: creating include/HsX11Config.h
config.status: creating include/X11_extras_config.h
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
Reading parameters from ./X11.buildinfo
Reading parameters from ./X11.buildinfo
Component build order: library
creating dist/build
creating dist/build/autogen
Building X11-1.6.1.2...
/usr/local/bin/ghc-pkg init dist/package.conf.inplace
Preprocessing library X11-1.6.1.2...
creating dist/build/Graphics/X11
creating dist/build/Graphics
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Types.hs Graphics/X11/Types.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Atom.hs Graphics/X11/Xlib/Atom.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Cursor.hs Graphics/X11/Xlib/Cursor.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Event.hs Graphics/X11/Xlib/Event.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Font.hs Graphics/X11/Xlib/Font.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Misc.hs Graphics/X11/Xlib/Misc.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Types.hs Graphics/X11/Xlib/Types.hsc
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Extras.hs Graphics/X11/Xlib/Extras.hsc
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xinerama.hs Graphics/X11/Xinerama.hsc
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xrandr.hs Graphics/X11/Xrandr.hsc
creating dist/build/Graphics/X11
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/XScreenSaver.hs Graphics/X11/XScreenSaver.hsc
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/AP.hs Graphics/X11/ExtraTypes/AP.hsc
In file included from AP.hsc:166:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/DEC.hs Graphics/X11/ExtraTypes/DEC.hsc
In file included from DEC.hsc:111:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/HP.hs Graphics/X11/ExtraTypes/HP.hsc
In file included from HP.hsc:504:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/Sun.hs Graphics/X11/ExtraTypes/Sun.hsc
In file included from Sun.hsc:236:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/XF86.hs Graphics/X11/ExtraTypes/XF86.hsc
In file included from XF86.hsc:775:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs Graphics/X11/ExtraTypes/XorgDefault.hsc
In file included from XorgDefault.hsc:10047:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs '--cc=/usr/bin/gcc' '--ld=/usr/bin/gcc' '--cflag=-D__GLASGOW_HASKELL__=710' '--cflag=-Ddarwin_BUILD_OS=1' '--cflag=-Dx86_64_BUILD_ARCH=1' '--cflag=-Ddarwin_HOST_OS=1' '--cflag=-Dx86_64_HOST_ARCH=1' '--cflag=-Iinclude' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-I/usr/X11/include' '--cflag=-Idist/build/autogen' '--cflag=-include' '--cflag=dist/build/autogen/cabal_macros.h' '--lflag=-lXss' '--lflag=-lXinerama' '--lflag=-lXext' '--lflag=-lX11' '--lflag=-lXrandr' '--lflag=-lXext' '--lflag=-L/usr/X11/lib' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include' '--cflag=-I/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/include' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1' '--lflag=-L/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1' '--lflag=-L/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM' '--lflag=-liconv' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3' '--lflag=-L/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts' '--lflag=-lm' '--lflag=-ldl' -o dist/build/Graphics/X11/Xlib/Internal.hs Graphics/X11/Xlib/Internal.hsc
Building library...
creating dist/build
/usr/local/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -this-package-key X11_IWliEAOAW3jLTNM8XZxGwo -hide-all-packages -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 -XHaskell98 -XForeignFunctionInterface -XCPP Graphics.X11 Graphics.X11.Types Graphics.X11.Xlib Graphics.X11.Xlib.Atom Graphics.X11.Xlib.Color Graphics.X11.Xlib.Context Graphics.X11.Xlib.Cursor Graphics.X11.Xlib.Display Graphics.X11.Xlib.Event Graphics.X11.Xlib.Font Graphics.X11.Xlib.Misc Graphics.X11.Xlib.Region Graphics.X11.Xlib.Screen Graphics.X11.Xlib.Types Graphics.X11.Xlib.Window Graphics.X11.Xlib.Image Graphics.X11.Xlib.Extras Graphics.X11.Xinerama Graphics.X11.Xrandr Graphics.X11.XScreenSaver Graphics.X11.ExtraTypes Graphics.X11.ExtraTypes.AP Graphics.X11.ExtraTypes.DEC Graphics.X11.ExtraTypes.HP Graphics.X11.ExtraTypes.Sun Graphics.X11.ExtraTypes.XF86 Graphics.X11.ExtraTypes.XorgDefault Graphics.X11.Xlib.Internal -funbox-strict-fields -Wall -fno-warn-unused-binds
[ 1 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/build/Graphics/X11/Xlib/Internal.hs, dist/build/Graphics/X11/Xlib/Internal.o )
[ 2 of 28] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.o )
Graphics/X11/Types.hsc:61:1: Warning: Tab character
[ 3 of 28] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o )
[ 4 of 28] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.o )
[ 5 of 28] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.o )
[ 6 of 28] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.o )
[ 7 of 28] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.o )
[ 8 of 28] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.o )
[ 9 of 28] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.o )
[10 of 28] Compiling Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.o )
Graphics/X11/Xlib/Font.hsc:23:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:58:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:73:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:82:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:83:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:84:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:85:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:87:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:94:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:95:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:96:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:98:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:102:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:107:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:111:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:115:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:138:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:139:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:140:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:141:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:142:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:143:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:144:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:148:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:149:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:150:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:151:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:152:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:153:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:154:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:155:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:156:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:157:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:164:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:165:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:166:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:167:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:168:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:169:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:170:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:171:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:172:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:173:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:174:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:175:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:177:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:178:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:179:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:186:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:187:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:189:1: Warning: Tab character
[11 of 28] Compiling Graphics.X11.Xlib.Cursor ( dist/build/Graphics/X11/Xlib/Cursor.hs, dist/build/Graphics/X11/Xlib/Cursor.o )
[12 of 28] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.o )
[13 of 28] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.o )
[14 of 28] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.o )
[15 of 28] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.o )
Graphics/X11/Xlib/Misc.hsc:698:10: Warning:
Orphan instance: instance Default VisualInfo
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
[16 of 28] Compiling Graphics.X11.Xrandr ( dist/build/Graphics/X11/Xrandr.hs, dist/build/Graphics/X11/Xrandr.o )
[17 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.o )
[18 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.o )
[19 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.o )
[20 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.o )
[21 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.o )
[22 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.o )
[23 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.o )
Graphics/X11/ExtraTypes.hs:16:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:17:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:18:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:19:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:20:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:21:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:22:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:23:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:25:1: Warning: Tab character
[24 of 28] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/build/Graphics/X11/Xlib.o )
Graphics/X11/Xlib.hs:23:1: Warning: Tab character
Graphics/X11/Xlib.hs:24:1: Warning: Tab character
Graphics/X11/Xlib.hs:26:1: Warning: Tab character
Graphics/X11/Xlib.hs:27:1: Warning: Tab character
Graphics/X11/Xlib.hs:29:1: Warning: Tab character
Graphics/X11/Xlib.hs:30:1: Warning: Tab character
Graphics/X11/Xlib.hs:31:1: Warning: Tab character
Graphics/X11/Xlib.hs:33:1: Warning: Tab character
Graphics/X11/Xlib.hs:47:1: Warning: Tab character
[25 of 28] Compiling Graphics.X11.Xlib.Extras ( dist/build/Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.o )
[26 of 28] Compiling Graphics.X11.Xinerama ( dist/build/Graphics/X11/Xinerama.hs, dist/build/Graphics/X11/Xinerama.o )
[27 of 28] Compiling Graphics.X11.XScreenSaver ( dist/build/Graphics/X11/XScreenSaver.hs, dist/build/Graphics/X11/XScreenSaver.o )
[28 of 28] Compiling Graphics.X11 ( Graphics/X11.hs, dist/build/Graphics/X11.o )
/usr/local/bin/ghc --make -fbuilding-cabal-package -O -prof -osuf p_o -hisuf p_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -this-package-key X11_IWliEAOAW3jLTNM8XZxGwo -hide-all-packages -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 -XHaskell98 -XForeignFunctionInterface -XCPP Graphics.X11 Graphics.X11.Types Graphics.X11.Xlib Graphics.X11.Xlib.Atom Graphics.X11.Xlib.Color Graphics.X11.Xlib.Context Graphics.X11.Xlib.Cursor Graphics.X11.Xlib.Display Graphics.X11.Xlib.Event Graphics.X11.Xlib.Font Graphics.X11.Xlib.Misc Graphics.X11.Xlib.Region Graphics.X11.Xlib.Screen Graphics.X11.Xlib.Types Graphics.X11.Xlib.Window Graphics.X11.Xlib.Image Graphics.X11.Xlib.Extras Graphics.X11.Xinerama Graphics.X11.Xrandr Graphics.X11.XScreenSaver Graphics.X11.ExtraTypes Graphics.X11.ExtraTypes.AP Graphics.X11.ExtraTypes.DEC Graphics.X11.ExtraTypes.HP Graphics.X11.ExtraTypes.Sun Graphics.X11.ExtraTypes.XF86 Graphics.X11.ExtraTypes.XorgDefault Graphics.X11.Xlib.Internal -funbox-strict-fields -Wall -fno-warn-unused-binds -prof -auto-all
[ 1 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/build/Graphics/X11/Xlib/Internal.hs, dist/build/Graphics/X11/Xlib/Internal.p_o )
[ 2 of 28] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.p_o )
Graphics/X11/Types.hsc:61:1: Warning: Tab character
[ 3 of 28] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.p_o )
[ 4 of 28] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs, dist/build/Graphics/X11/Xlib/Display.p_o )
[ 5 of 28] Compiling Graphics.X11.Xlib.Event ( dist/build/Graphics/X11/Xlib/Event.hs, dist/build/Graphics/X11/Xlib/Event.p_o )
[ 6 of 28] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/build/Graphics/X11/Xlib/Screen.p_o )
[ 7 of 28] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/build/Graphics/X11/Xlib/Window.p_o )
[ 8 of 28] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/build/Graphics/X11/Xlib/Context.p_o )
[ 9 of 28] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs, dist/build/Graphics/X11/Xlib/Color.p_o )
[10 of 28] Compiling Graphics.X11.Xlib.Font ( dist/build/Graphics/X11/Xlib/Font.hs, dist/build/Graphics/X11/Xlib/Font.p_o )
Graphics/X11/Xlib/Font.hsc:23:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:58:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:73:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:82:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:83:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:84:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:85:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:87:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:94:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:95:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:96:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:98:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:102:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:107:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:111:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:115:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:138:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:139:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:140:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:141:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:142:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:143:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:144:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:148:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:149:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:150:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:151:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:152:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:153:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:154:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:155:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:156:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:157:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:164:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:165:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:166:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:167:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:168:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:169:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:170:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:171:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:172:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:173:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:174:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:175:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:177:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:178:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:179:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:186:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:187:1: Warning: Tab character
Graphics/X11/Xlib/Font.hsc:189:1: Warning: Tab character
[11 of 28] Compiling Graphics.X11.Xlib.Cursor ( dist/build/Graphics/X11/Xlib/Cursor.hs, dist/build/Graphics/X11/Xlib/Cursor.p_o )
[12 of 28] Compiling Graphics.X11.Xlib.Atom ( dist/build/Graphics/X11/Xlib/Atom.hs, dist/build/Graphics/X11/Xlib/Atom.p_o )
[13 of 28] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/build/Graphics/X11/Xlib/Region.p_o )
[14 of 28] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/build/Graphics/X11/Xlib/Image.p_o )
[15 of 28] Compiling Graphics.X11.Xlib.Misc ( dist/build/Graphics/X11/Xlib/Misc.hs, dist/build/Graphics/X11/Xlib/Misc.p_o )
Graphics/X11/Xlib/Misc.hsc:698:10: Warning:
Orphan instance: instance Default VisualInfo
To avoid this
move the instance declaration to the module of the class or of the type, or
wrap the type with a newtype and declare the instance on the new type.
[16 of 28] Compiling Graphics.X11.Xrandr ( dist/build/Graphics/X11/Xrandr.hs, dist/build/Graphics/X11/Xrandr.p_o )
[17 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.p_o )
[18 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.p_o )
[19 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.p_o )
[20 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.p_o )
[21 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.p_o )
[22 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.p_o )
[23 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.p_o )
Graphics/X11/ExtraTypes.hs:16:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:17:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:18:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:19:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:20:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:21:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:22:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:23:1: Warning: Tab character
Graphics/X11/ExtraTypes.hs:25:1: Warning: Tab character
[24 of 28] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/build/Graphics/X11/Xlib.p_o )
Graphics/X11/Xlib.hs:23:1: Warning: Tab character
Graphics/X11/Xlib.hs:24:1: Warning: Tab character
Graphics/X11/Xlib.hs:26:1: Warning: Tab character
Graphics/X11/Xlib.hs:27:1: Warning: Tab character
Graphics/X11/Xlib.hs:29:1: Warning: Tab character
Graphics/X11/Xlib.hs:30:1: Warning: Tab character
Graphics/X11/Xlib.hs:31:1: Warning: Tab character
Graphics/X11/Xlib.hs:33:1: Warning: Tab character
Graphics/X11/Xlib.hs:47:1: Warning: Tab character
[25 of 28] Compiling Graphics.X11.Xlib.Extras ( dist/build/Graphics/X11/Xlib/Extras.hs, dist/build/Graphics/X11/Xlib/Extras.p_o )
[26 of 28] Compiling Graphics.X11.Xinerama ( dist/build/Graphics/X11/Xinerama.hs, dist/build/Graphics/X11/Xinerama.p_o )
[27 of 28] Compiling Graphics.X11.XScreenSaver ( dist/build/Graphics/X11/XScreenSaver.hs, dist/build/Graphics/X11/XScreenSaver.p_o )
[28 of 28] Compiling Graphics.X11 ( Graphics/X11.hs, dist/build/Graphics/X11.p_o )
Building C Sources...
creating dist/build
/usr/local/bin/ghc -c -fPIC -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/fdset.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/fdset.c
/usr/local/bin/ghc -c -prof -fPIC -osuf p_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/fdset.c
creating dist/build
/usr/local/bin/ghc -c -fPIC -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/auxiliaries.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/auxiliaries.c
/usr/local/bin/ghc -c -prof -fPIC -osuf p_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/auxiliaries.c
creating dist/build
/usr/local/bin/ghc -c -fPIC -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/XUtils.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/XUtils.c
/usr/local/bin/ghc -c -prof -fPIC -osuf p_o -odir dist/build -Idist/build/autogen -Idist/build -Iinclude -optc-O2 -optc-I/usr/X11/include -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 cbits/XUtils.c
Linking...
[(InstalledPackageId
"base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25",PackageIdentifier {pkgName =
PackageName {unPackageName = "base"}, pkgVersion = Version {versionBranch =
[4,8,2,0], versionTags = []}},ModuleRenaming True []),(InstalledPackageId
"data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2",PackageIdentifier
{pkgName = PackageName {unPackageName = "data-default"}, pkgVersion = Version
{versionBranch = [0,5,3], versionTags = []}},ModuleRenaming True [])]
/usr/bin/ar -r -s dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo.a dist/build/Graphics/X11.o dist/build/Graphics/X11/Types.o dist/build/Graphics/X11/Xlib.o dist/build/Graphics/X11/Xlib/Atom.o dist/build/Graphics/X11/Xlib/Color.o dist/build/Graphics/X11/Xlib/Context.o dist/build/Graphics/X11/Xlib/Cursor.o dist/build/Graphics/X11/Xlib/Display.o dist/build/Graphics/X11/Xlib/Event.o dist/build/Graphics/X11/Xlib/Font.o dist/build/Graphics/X11/Xlib/Misc.o dist/build/Graphics/X11/Xlib/Region.o dist/build/Graphics/X11/Xlib/Screen.o dist/build/Graphics/X11/Xlib/Types.o dist/build/Graphics/X11/Xlib/Window.o dist/build/Graphics/X11/Xlib/Image.o dist/build/Graphics/X11/Xlib/Extras.o dist/build/Graphics/X11/Xinerama.o dist/build/Graphics/X11/Xrandr.o dist/build/Graphics/X11/XScreenSaver.o dist/build/Graphics/X11/ExtraTypes.o dist/build/Graphics/X11/ExtraTypes/AP.o dist/build/Graphics/X11/ExtraTypes/DEC.o dist/build/Graphics/X11/ExtraTypes/HP.o dist/build/Graphics/X11/ExtraTypes/Sun.o dist/build/Graphics/X11/ExtraTypes/XF86.o dist/build/Graphics/X11/ExtraTypes/XorgDefault.o dist/build/Graphics/X11/Xlib/Internal.o dist/build/cbits/fdset.o dist/build/cbits/auxiliaries.o dist/build/cbits/XUtils.o
ar: creating archive dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo.a
/usr/bin/ar -r -s dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo_p.a dist/build/Graphics/X11.p_o dist/build/Graphics/X11/Types.p_o dist/build/Graphics/X11/Xlib.p_o dist/build/Graphics/X11/Xlib/Atom.p_o dist/build/Graphics/X11/Xlib/Color.p_o dist/build/Graphics/X11/Xlib/Context.p_o dist/build/Graphics/X11/Xlib/Cursor.p_o dist/build/Graphics/X11/Xlib/Display.p_o dist/build/Graphics/X11/Xlib/Event.p_o dist/build/Graphics/X11/Xlib/Font.p_o dist/build/Graphics/X11/Xlib/Misc.p_o dist/build/Graphics/X11/Xlib/Region.p_o dist/build/Graphics/X11/Xlib/Screen.p_o dist/build/Graphics/X11/Xlib/Types.p_o dist/build/Graphics/X11/Xlib/Window.p_o dist/build/Graphics/X11/Xlib/Image.p_o dist/build/Graphics/X11/Xlib/Extras.p_o dist/build/Graphics/X11/Xinerama.p_o dist/build/Graphics/X11/Xrandr.p_o dist/build/Graphics/X11/XScreenSaver.p_o dist/build/Graphics/X11/ExtraTypes.p_o dist/build/Graphics/X11/ExtraTypes/AP.p_o dist/build/Graphics/X11/ExtraTypes/DEC.p_o dist/build/Graphics/X11/ExtraTypes/HP.p_o dist/build/Graphics/X11/ExtraTypes/Sun.p_o dist/build/Graphics/X11/ExtraTypes/XF86.p_o dist/build/Graphics/X11/ExtraTypes/XorgDefault.p_o dist/build/Graphics/X11/Xlib/Internal.p_o dist/build/cbits/fdset.p_o dist/build/cbits/auxiliaries.p_o dist/build/cbits/XUtils.p_o
ar: creating archive dist/build/objs-34820/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo_p.a
/usr/local/bin/ghc -shared -dynamic -lXss -lXinerama -lX11 -lXrandr -lXext '-dynload deploy' -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/array_67iodizgJQIIxYVTp4emlA -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/rts -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/conta_2C3ZI8RgPO2LBMidXKTvIU -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-0.5.3 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-class-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-base-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-containers-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-dlist-0.0.1 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/data-default-instances-old-locale-0.0.1 -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/deeps_6vMKxt5sPFR0XsbRWvvq59 -optl-Wl,-rpath,/Users/USER/Library/Haskell/ghc-7.10.3-x86_64/lib/dlist-0.7.1.2 -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/ghcpr_8TmvWUcS1U1IKHT0levwg3 -optl-Wl,-rpath,/Library/Frameworks/GHC.framework/Versions/7.10.3-x86_64/usr/lib/ghc-7.10.3/integ_2aU3IZNMF9a7mQ0OzsZ0dS -optl-Wl,-rpath,/Library/Haskell/ghc-7.10.3-x86_64/lib/old-locale-1.0.0.7 -this-package-key X11_IWliEAOAW3jLTNM8XZxGwo -no-auto-link-packages -package-db dist/package.conf.inplace -package-id base-4.8.2.0-cc43d8e06aa74e9c4c0132becc49ee25 -package-id data-default-0.5.3-9dff3193f506bb1167ea34cbb11b90f2 dist/build/Graphics/X11.dyn_o dist/build/Graphics/X11/Types.dyn_o dist/build/Graphics/X11/Xlib.dyn_o dist/build/Graphics/X11/Xlib/Atom.dyn_o dist/build/Graphics/X11/Xlib/Color.dyn_o dist/build/Graphics/X11/Xlib/Context.dyn_o dist/build/Graphics/X11/Xlib/Cursor.dyn_o dist/build/Graphics/X11/Xlib/Display.dyn_o dist/build/Graphics/X11/Xlib/Event.dyn_o dist/build/Graphics/X11/Xlib/Font.dyn_o dist/build/Graphics/X11/Xlib/Misc.dyn_o dist/build/Graphics/X11/Xlib/Region.dyn_o dist/build/Graphics/X11/Xlib/Screen.dyn_o dist/build/Graphics/X11/Xlib/Types.dyn_o dist/build/Graphics/X11/Xlib/Window.dyn_o dist/build/Graphics/X11/Xlib/Image.dyn_o dist/build/Graphics/X11/Xlib/Extras.dyn_o dist/build/Graphics/X11/Xinerama.dyn_o dist/build/Graphics/X11/Xrandr.dyn_o dist/build/Graphics/X11/XScreenSaver.dyn_o dist/build/Graphics/X11/ExtraTypes.dyn_o dist/build/Graphics/X11/ExtraTypes/AP.dyn_o dist/build/Graphics/X11/ExtraTypes/DEC.dyn_o dist/build/Graphics/X11/ExtraTypes/HP.dyn_o dist/build/Graphics/X11/ExtraTypes/Sun.dyn_o dist/build/Graphics/X11/ExtraTypes/XF86.dyn_o dist/build/Graphics/X11/ExtraTypes/XorgDefault.dyn_o dist/build/Graphics/X11/Xlib/Internal.dyn_o dist/build/cbits/fdset.dyn_o dist/build/cbits/auxiliaries.dyn_o dist/build/cbits/XUtils.dyn_o -o dist/build/libHSX11-1.6.1.2-IWliEAOAW3jLTNM8XZxGwo-ghc7.10.3.dylib
ld: library not found for -lXss
clang: error: linker command failed with exit code 1 (use -v to see invocation)
EOF
1
1
I am a Haskell beginner. I've tried to write a tiny VM-like thing but ran
into a problems with IO and evaluation order.
Here is the full source code of this VM:
https://gist.github.com/mamontov-cpp/c4d8e2e46e7541c0c646 . This code is
supposed to read 4 strings and output them in reverse order.
While it seems to read some strings, it requests much more than one string
from user on each step of evaluation of meta-program, stored as array in
main function (which is just wrong).
I assume the problem with this program, is that the main state, being
immutable, seems to get re-evaluated on several steps inside of internal
parts of runProgram and runInstructionOrStop, forcing it to repeat
requesting data from user.
So, how can I prevent this main state from being re-evaluated in following
code ? Or is there any other problems, which I don't see?
2
2
I am a Haskell beginner. I have used arrows occasionally to move 2-tuples
around, but don't understand more than that.
I'm interested in know what's the connection between arrows and 2-tuples. I
don't really understand most of the Control.Arrow docs, but it seems that a
lot of stuff about arrows doesn't mention 2-tuples. Yet the operators
(***), (&&&), first, and second seem to be common. Is there some way to
explain the link?
Also, the main instance of Arrow seems to be (->). There is also something
about Kleisli monads, but I don't know what those are. Is there an another
big use case for arrows besides (->)? Don't worry about explaining it all,
just a quick mention would be fine and I can investigate it myself.
D
2
4