Skip to content

Instantly share code, notes, and snippets.

View rajivjhoomuck's full-sized avatar
🎯
Vertiefungsgebiet-λ

Rajiv Jhoomuck rajivjhoomuck

🎯
Vertiefungsgebiet-λ
View GitHub Profile

Set Up a Haskell Development Environment in Three Steps

a Haskell Development Environment consist in a compiler (ghc), a language server (hls), a building tool (cabal or stack), and an editor compatible with the language server protocol.

The best way to have a coherent installation of these components is with the ghcup tool.

  • Step 1: Install GHCup. You'll be prompted to install some tools. Say yes to hls. Do not install stack yet (see below).
  • Step 2: Install vscode
  • Step 3: Open vscode and install the haskell extension either using the extension panel or pressing CTRL+P and ext install haskell.haskell.
@pitfield
pitfield / Create an iOS app with Swift Package Manager dependencies.md
Last active July 18, 2023 01:34
Create an iOS app with Swift Package Manager dependencies

Create an iOS app with Swift Package Manager dependencies

CAUTION: This information is mostly obsolete. Xcode 11 allows a project to directly declare its Swift Package Manager dependencies.

This gist walks through creating an Xcode project for an iOS app that consumes packages in Swift Package Manager (SPM).

We'll be using Xcode 10.2 and Swift 5.

Scenario