Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SEATNew to Visual Studio Code? Get it now.

SEAT

UCL

|
447 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SEAT

SEAT is a learning tool developed at UCL that automatically validates student's code against model answers.

Installation

In order to use SEAT as a student you need to follow 5 simple steps:

  1. Install Stack (recommended), a Haskell package manager which includes GHC. Make sure to run stack setup once it is installed. You can also install GHC through the Haskell Platform installation, which also comes with Stack.

  2. Install the QuickCheck library by running stack install QuickCheck (Stack) or cabal install QuickCheck (GHCi).

  3. Download SEAT extension. You can also run this command ext install labassignments in VS Code Quick Open.

  4. Open any .pla file. SEAT will automatically generate a .hs where you can start coding your solutions. You'll need to open the .pla file first everytime you want to use SEAT.

  5. Whenever you want to check if your code is correct, click the button: Check answers. SEAT will assess your solutions and provide feedback. If the code doesn't compile, SEAT will show the compiling errors through GHCi.

Configuration

SEAT supports both Stack and GHCi as interfaces to the Haskell compiler. The default configuration is set to stack but it can be changed (open the config file through Code > Preferences > Settings):

  • "seat.haskell.installation" -> "ghci"

Feedback

SEAT is still under development. If you have any useful feedback or bug reports, please [contact us at marti.serra.15@ucl.ac.uk](https://github.com/seat-team-six/SEAT_VSCODE/blob/master/mailto:marti.serra.15@ucl.ac.uk?subject=SEAT feedback) or preferably open an issue on Github. Thanks for your help!

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft