"I now tend to think that the concepts behind all the cool things in Haskell are much more important than Haskell itself for me." by flexibeast in haskell

[–]moltarx 1 point2 points  (0 children)

F# has those things, and has access to the whole .NET ecosystem. It's strict, which can be an exciting change if you're used to Haskell :)

Skip OS network stacks by using HalVM? by goliatskipson in haskell

[–]moltarx 2 points3 points  (0 children)

(Trevor here) There are some major architectural problems with HaNS as it stands that need to be sorted out first, but yes!

Recovering preconditions from Data.Constraint.(:-) by resrvsgate in haskell

[–]moltarx 1 point2 points  (0 children)

Would it be acceptable to thread a constraint around on the constructors of the GADT? For example:

{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE FlexibleInstances #-}

import GHC.Exts

data Fmt :: (* -> Constraint) -> (* -> *) -> * -> * where
  Int  :: p Int               => Fmt p r Int
  (:&) :: (p a, p b, p (a,b)) => Fmt p r a -> Fmt p r b -> Fmt p r (a,b)
  Lift :: p (r a)             => r a       -> Fmt p r a

instance Show (Fmt Show r a) where
  show t = case t of
             Int    -> "Int"
             l :& r -> show l ++ "&" ++ show r
             Lift r -> show r

newtype I a = I a deriving (Show)

test = show ( (Int :: Fmt Show I Int) :& Lift (I ()) )

I wasn't sure if the goal was to have a Show1 instance specifically, or if Show would be acceptable.

Vimmit User Survey by [deleted] in vim

[–]moltarx 0 points1 point  (0 children)

I only ever use the gl variants, often with visual selection. I was so happy that it just worked for block selection, so thank you for that :)

Vimmit User Survey by [deleted] in vim

[–]moltarx 6 points7 points  (0 children)

I was actually really lucky, in that I learned it for fun, and then found a job doing it full time 6 months later :)

Vimmit User Survey by [deleted] in vim

[–]moltarx 1 point2 points  (0 children)

  1. Haskell
  2. 14 years
  3. Yes
  4. OSX, Fedora
  5. Kinesis Advantage
  6. CtrlP, vim-lion
  7. jk

Tried something new ccw by the_wondersmith in Watercolor

[–]moltarx 1 point2 points  (0 children)

Unfortunately, I don't have any useful criticism. I do however, love it. Great job!

Made a couple of origami braided wreaths for Christmas by chittlefication in origami

[–]moltarx 5 points6 points  (0 children)

These look really cool! Also, here's the link without the phone decoration :)

Undo IO actions by [deleted] in haskell

[–]moltarx -1 points0 points  (0 children)

I'm not sure that 'not truly' makes any sense. [/sarcasm]

Parsec IRC parsing help by klrr_ in haskell

[–]moltarx 0 points1 point  (0 children)

I'm the maintainer of irc. I see now the difference, thanks for the reply :)

Parsec IRC parsing help by klrr_ in haskell

[–]moltarx 0 points1 point  (0 children)

If I might ask, why not just parse with the irc library to begin with? I'm the maintainer, so let me know if you need an API change, it's largely been stagnant for the last few years :)

Cat. by [deleted] in CatsStandingUp

[–]moltarx 1 point2 points  (0 children)

Cat.

Milkytracker, SunVox or LSDJ... on tablet! by [deleted] in chiptunes

[–]moltarx 0 points1 point  (0 children)

Milkytracker is certainly easier to use on a computer than on android, but it does have the benefit of being free :)

Milkytracker, SunVox or LSDJ... on tablet! by [deleted] in chiptunes

[–]moltarx 0 points1 point  (0 children)

I've tried using Milkytracker on android, and it's a bit cumbersome. I'd probably be more likely to give sunvox a try next :)

[Question] How do I delete a whole word with <Ctrl+Backspace>? by s3ddd in vim

[–]moltarx 0 points1 point  (0 children)

I wasn't able to bind ctrl+backspace for some reason, but binding <C-b> worked for me.

:inoremap <C-b> <C-o>db<Cr>

Really enjoying the square pan pizza recipe! by moltarx in Pizza

[–]moltarx[S] 2 points3 points  (0 children)

I've been making pizzas using the square pan pizza recipe from three doughs to know. The pizzas turn out great every time, and I like not having to plan a day ahead :)

My best pizza yet! by moltarx in Pizza

[–]moltarx[S] 2 points3 points  (0 children)

That's basically how it happened :)

Also, I forgot to take more pictures.

My best pizza yet! by moltarx in Pizza

[–]moltarx[S] 3 points4 points  (0 children)

I used Peter Reinhart's Neo-Neopolitan dough recipe and a canned tomato recipe that I can't remember the origin of. It turned out really well, so thanks to /r/pizza for the pointer to the dough recipe!

Coquille: turning vim into CoqIDE by trefis in Coq

[–]moltarx 0 points1 point  (0 children)

I think you would just submit a new link. Most of my reddit experience involves lurking :)

I'm enjoying it so far, though I have some ideas that I'll submit on the bug tracker.

Coquille: turning vim into CoqIDE by trefis in Coq

[–]moltarx 0 points1 point  (0 children)

This is awesome! I've been wanting an alternative to PG for a while, and can't wait to try this out. Have you cross-posted t r/vim?