It took me the afternoon but I got a LSP working

This commit is contained in:
2023-12-02 16:16:57 +01:00
parent a36a4ccbe9
commit eedd910d67
8 changed files with 35 additions and 31 deletions

View File

@@ -3,13 +3,13 @@ module Commons where
import System.IO
import Text.Read
type CalibrationLine = String
type CalibrationLine = String
type CalibrationDocument = [CalibrationLine]
parseLine :: IO CalibrationLine
parseLine = do line <- getLine
return line
parseLine = do getLine
parse :: IO CalibrationDocument
parse = do done <- isEOF