Skip to content

Instantly share code, notes, and snippets.

View LitFill's full-sized avatar
💭
learning

LitFill LitFill

💭
learning
View GitHub Profile
@LitFill
LitFill / .ghci
Created June 15, 2025 21:20
my ghci config
:set +t
:set prompt "\x1b[35mλ \x1b[1;33m» \x1b[0m"
:set -XLambdaCase
:set -XNoStarIsType
@LitFill
LitFill / .wezterm.lua
Last active May 22, 2025 11:39
my wezterm lua config
---@class Wezterm
---@field action WeztermAction
---@field action_callback fun (action: fun (window: Window, pane: Pane)): Action
---@field config_builder fun (): Config
---@field font fun (font_name: string, opts?: {}): string
---@field font_with_fallback fun (fonts: string[]): string
---@field home_dir string
---@field mux MuxManager
---@field plugin PluginManager
local wezterm = require "wezterm"
@LitFill
LitFill / warisan.hs
Created March 8, 2025 14:18
POC warisan dalam haskell
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE BlockArguments #-}
module Main where
import Data.Ratio ((%), Ratio)
seper2,
seper3,
seper4,
@LitFill
LitFill / Main.hs
Last active March 6, 2025 18:40
Haskell for normies
module Main where
main = do {
putStrLn("Hello, Haskell!");
printUser(andy);
}
{- }
data User = User {
name :: String,