choco msys2 emacs
Press Windows button, in ‘Type to search’ type cmd, right-click on Command Promp Desktop app and select Run as administrator.
{-# LANGUAGE OverloadedStrings #-} | |
module Main where | |
import qualified GI.Gtk as GI (init, | |
main) | |
import GI.Gtk (boxNew, | |
binGetChild, | |
boxPackStart, | |
checkButtonNew, |
;;; tree traversal | |
(defparameter tr '((s | |
(num | |
(dig | |
(1)) | |
(diga | |
(da | |
(2a)) | |
(da |
Blog post here
module Main exposing (..) | |
import Html exposing (Html, text, div, h1, img, p, ul, li, hr) | |
import Html.Attributes exposing (src) | |
import Json.Decode exposing (..) | |
import ISO8601 | |
---- MODEL ---- |
check_if_proceed configFolders = do | |
let emacsdf = "/home/jacek/.emacs.d" | |
traceM ("calling check_if_proceed " ++ show ("ccc",configFolders)) | |
exists <- doesDirectoryExist emacsdf | |
symlink <- pathIsSymbolicLink emacsdf | |
let confemp = configFolders == [] | |
let result = False | |
if exists | |
then do | |
{ |
#!/usr/local/bin/sbcl --script | |
(define-alien-routine gtk_application_window_new (* t) (app (* t))) | |
(define-alien-routine gtk_application_new (* t) (txt c-string) (flags int)) | |
(define-alien-routine g_application_run int | |
(app (* t)) (argc int) (argv (* t))) | |
(define-alien-routine g_signal_connect_data int ; |
This tutorial assumes you have installed binary version of SBCL downloaded from http://www.sbcl.org/platform-table.html
Also, it assumes you have Msys2 installed. https://www.msys2.org/ And all the tools needed for compilation are there.
On top of that I used Windows cmd started from a bat file that adds Msys2 paths.