Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data MossCfg = MossCfg {}
- defaultMossCfg :: MossCfg
- data Language
- type Moss = StateT MossSt IO
- liftIO :: MonadIO m => IO a -> m a
- withMoss :: MossCfg -> Moss a -> IO a
- addBaseFile :: String -> FilePath -> Moss ()
- addFile :: String -> FilePath -> Moss ()
- addFilesForStudent :: [(String, FilePath)] -> Moss ()
- query :: ByteString -> Moss (Maybe ByteString)
Documentation
Represents the configuration for a Moss connection.
MossCfg | |
|
defaultMossCfg :: MossCfg Source #
defaultMossCfg
is the default configuration for a Moss connection.
Enumerates programming languages supported by Moss.
C | |
CPP | |
Java | |
CSharp | |
Python | |
VisualBasic | |
Javascript | |
FORTRAN | |
ML | |
Haskell | |
Lisp | |
Scheme | |
Pascal | |
Modula2 | |
Ada | |
Perl | |
TCL | |
Matlab | |
VHDL | |
Verilog | |
Spice | |
MIPS | |
A8086 | |
HCL2 |
Instances
Enum Language Source # | |
Show Language Source # | |
withMoss :: MossCfg -> Moss a -> IO a Source #
withMoss
cfg m
runs a computation m
using a Moss connection whose
configuration is reprsented by cfg
.
addBaseFile :: String -> FilePath -> Moss () Source #
addBaseFile
file
adds file
as part of the skeleton code.
addFile :: String -> FilePath -> Moss () Source #
addFile
name file
adds file
as a submission to Moss with name
.
addFilesForStudent :: [(String, FilePath)] -> Moss () Source #
addFilesForStudent
filesWithNames
uploads multiple files for
the same student. I.e. in the Moss submission they will share the same ID.
query :: ByteString -> Moss (Maybe ByteString) Source #
query
comment
runs the plagiarism check on all submitted files