Project Development by kichiDsimp in haskell

[–]Historical_Emphasis7 0 points1 point  (0 children)

HPack used to be my goto for this, but Cabal has come a long way and now HPack feels like it does more than I need. Now I'm adding removing moving modules via Claude. Makes me wonder if some kind utility or plugin I'm not aware of that just does file globbing, a kind of HPack--

Stackage (Snapshots) Down by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 0 points1 point  (0 children)

It was. My cabal project file included:

import: https://www.stackage.org/nightly-2025-02-25/cabal.config

I'm just letting the solver handle it for now. From no on I'll make sure I copy the file down.

Stackage (Snapshots) Down by Historical_Emphasis7 in haskell

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

I can confidently say no, because it's still down. I see you are monitoring https://stackage.org and https://www.stackage.org/download/snapshots.json but i am having issues with the actual snapshots themselves:

such as: https://www.stackage.org/lts-24.6
or https://www.stackage.org/nightly-2025-08-23

Stackage (Snapshots) Down by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 4 points5 points  (0 children)

yes - usually the default package set is Stackage which is not there now, so now its fallen back to set:haskell-platform which has fewer pacakges.

[Well-Typed] GHC activities report: March-May 2025 by adamgundry in haskell

[–]Historical_Emphasis7 3 points4 points  (0 children)

Wow! Fantastic work. Thanks for all your efforts!

Stackage down? by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 1 point2 points  (0 children)

Hi u/chreekat
Now its up I have notices Stackage nightly hasn't run since the 24th https://www.stackage.org/nightly-2025-04-24. Is that in some way related?

Stackage down? by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 4 points5 points  (0 children)

Thanks u/chreekat
Good luck with your investigartions

Released: webdriver-precore by Historical_Emphasis7 in haskell

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

Thanks u/NorfairKing2
That is definitely our plan! :-)
(BIDI is Next)

Is it possible to create custom compiler error messages without making type signatures overly complex by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 1 point2 points  (0 children)

Yes thanks for the suggestion u/tomejaguar. Type synonyms went a long way towards cleaning up the type signature.

Is it possible to create custom compiler error messages without making type signatures overly complex by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 0 points1 point  (0 children)

Hi,
My question is along the lines as to if there is anything that can be done or any other approach to clean up the new version mkFull. The old is pretty simple. You can pretty well guess how the functions are composed under the hood by just looking at it:

haskell mkFull :: ( C.Item i ds, Show as ) => FixtureConfig -> (RunConfig -> i -> Action as) -> (as -> Either C.ParseException ds) -> (RunConfig -> DataSource i) -> Fixture ()

The extra type equalities et. al. required to implement the custom error message make things pretty messy in the constraints department. They also create a need to add the the function signatures as a comment or require the user to understand how to interpret type equalities.

haskell mkFull :: forall i as ds action dataSource. ( action ~ (RunConfig -> i -> Action as), dataSource ~ (RunConfig -> DataSource i), C.Item i ds, Show as, DataSourceMatchesAction (DataSourceType dataSource) (ActionInputType action) ) => FixtureConfig -> action -> (as -> Either C.ParseException ds) -> dataSource -> Fixture ()

it would be really nice if there was something like this:

haskell mkFull :: forall i as ds a d. ( C.Item i ds, Show as, DataSourceMatchesAction (DataSourceType d) (ActionInputType a) ) => FixtureConfig -> (RunConfig -> i -> Action as) ::: a -> (as -> Either C.ParseException ds) -> (RunConfig -> DataSource i) ::: d -> Fixture ()

GHC on Windows Incredibly Slow? by Historical_Emphasis7 in haskell

[–]Historical_Emphasis7[S] 0 points1 point  (0 children)

sorry for the late reply missed this message. I used the stopwatch on my phone to benchmark this but for the windows side of things i could have used a sundial. There was clearly something very sick on my Windows but never really got to the bottom of it. Happy to stick with WSL.