@高橋紀美 has joined the channel
data: end of file Main: file descriptor 45546384 out of range for select (0--1024). Recompile with -threaded to work around this.
{package.yaml} ghc-options: - -Wall - -Wcompat - -Widentities - -Wincomplete-record-updates - -Wincomplete-uni-patterns - -Wmissing-export-lists - -Wmissing-home-modules - -Wpartial-fields - -Wredundant-constraints - -threaded
readWordGroup :: FilePath -> IO [Text] readWordGroup filePath = bracket (openFile filePath ReadMode) hClose (\h -> T.words <$> TIO.hGetContents h)
import Data.List.Split data YMD =YMD Int Int Int deriving Show parseYMD :: String -> Maybe YMD parseYMD = listToymd . splitOn "/" where listToymd :: [String] -> Maybe YMD listToymd (y:m:d:_) = Just $ YMD (read y) (read m) (read d) listToymd _ = Nothing
runghc par.hs --package split-0.2.4
par.hs:1:1: error: Could not find module 'Data.List.Split' Use -v to see a list of the files searched for. | 1 | import Data.List.Split | ^^^^^^^^^^^^^^^^^^^^^^
:
とは何のことですか。 • タプルとは何ですか。 :
とは何のことですか。 • タプルとは何ですか。 ghci> :t (+2) (+2) :: Num a => a -> a ghci> :t (-2) (-2) :: Num a => a