This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE StandaloneDeriving, DeriveFunctor, DeriveFoldable, DeriveTraversable #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| import Control.Applicative | |
| import Control.Monad | |
| import Data.Attoparsec.Char8 hiding (take) | |
| import qualified Data.ByteString.Char8 as B | |
| import qualified Data.ByteString.Lazy.Char8 as LB | |
| import qualified Data.Foldable as F | |
| import qualified Data.Traversable as T |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| g++ -fPIC `pkg-config --cflags --libs Qt5Widgets Qt5Core Qt5Gui` -o hello hello.cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ diff ../hmatrix-0.14.1.0.before/hmatrix.cabal hmatrix.cabal | |
| 171a172,174 | |
| > -- extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core | |
| > | |
| > | |
| 174c177 | |
| < extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core | |
| --- | |
| > extra-libraries: gsl mkl_lapack95_lp64 mkl_intel_lp64 mkl_sequential mkl_core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE OverloadedStrings #-} | |
| module Main where | |
| import Crypto.Random | |
| import Codec.Crypto.RSA | |
| import qualified Data.Binary as Bi | |
| import qualified Data.ByteString.Base64.Lazy as LB64 | |
| import qualified Data.ByteString.Lazy.Char8 as LB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Data.Mathematica | |
| import Data.Mathematica.Parser | |
| import qualified Data.ByteString as B | |
| import qualified Data.ByteString.Char8 as C | |
| import Data.Attoparsec | |
| import Data.Maybe | |
| import HROOT.Core | |
| import HROOT.Graf | |
| import HROOT.Hist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Control.Concurrent | |
| import System.IO | |
| import System.Posix.Files | |
| import System.Posix.IO | |
| import System.Posix.Types | |
| main = do | |
| putStrLn "file lock test" | |
| let fp = "test.txt" | |
| fd <- openFd fp ReadWrite mode defaultFileFlags |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE RecordWildCards, GADTs #-} | |
| import Codec.Compression.GZip | |
| import Control.Applicative | |
| import Control.Monad | |
| import qualified Data.ByteString.Lazy.Char8 as LB | |
| import Data.Function (on) | |
| import Data.List | |
| import Data.Maybe | |
| -- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE PackageImports #-} | |
| module Main where | |
| import Control.Applicative | |
| import Control.Monad | |
| import "mtl" Control.Monad.Reader | |
| import "mtl" Control.Monad.Error | |
| import System.FilePath | |
| import System.Directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- | |
| -- drag and drop test gist | |
| -- | |
| -- created by D.Wagner | |
| -- | |
| import Control.Monad.IO.Class | |
| import Graphics.UI.Gtk | |
| main = do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE ScopedTypeVariables #-} | |
| import Control.Concurrent | |
| import Control.Monad | |
| import Control.Monad.Loops | |
| import qualified Data.ByteString.Lazy as B | |
| import Data.Monoid | |
| -- import Data.UUID | |
| import Data.UUID.V4 | |
| import Graphics.Rendering.Cairo |