packages feed

baseless (empty) → 1.0.0

raw patch · 6 files changed

+140/−0 lines, 6 filesdep +baselessdep +ghc-internal

Dependencies added: baseless, ghc-internal

Files

+ Changelog.md view
@@ -0,0 +1,6 @@+# Change log for template project++## Version 0.0.0 ++import [template](https://github.com/jappeace/template).+
+ LICENSE view
@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2025 Jappie Klooster++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.
+ Readme.md view
@@ -0,0 +1,15 @@+I just wondered if you could make a library that+doesn't depend on base.++I suppose this is a giant boon for all these +alternate prelude libraries,+you could make your own alternate base.++You can just completly bypass the CLC and+make your own favorite haskell:+++ Don't like monads? Don't define them!++ Don't like String? Don't define it!++In return, you lose the entire library ecosystem...+but hey, you're in control.
+ app/Main.hs view
@@ -0,0 +1,8 @@++module Main where++import qualified Baseless+import GHC.Internal.IO(IO)++main :: IO ()+main = Baseless.main
+ baseless.cabal view
@@ -0,0 +1,80 @@+cabal-version:      3.0++name:           baseless+category:       Base+version:        1.0.0+homepage:       https://github.com/jappeace/baseless#readme+bug-reports:    https://github.com/jappeace/baseless/issues+author:         Jappie Klooster+maintainer:     hi@jappie.me+copyright:      2025 Jappie Klooster+license:        MIT+license-file:   LICENSE+synopsis: baseless claims+description: See if we can make a library without a base, a baseless claim+build-type:     Simple+extra-source-files:+    Readme.md+    LICENSE+extra-doc-files:+    Changelog.md++source-repository head+  type: git+  location: https://github.com/jappeace/baseless++common common-options+  default-extensions: +      EmptyCase+      FlexibleContexts+      FlexibleInstances+      InstanceSigs+      MultiParamTypeClasses+      LambdaCase+      MultiWayIf+      NamedFieldPuns+      TupleSections+      DeriveFoldable+      DeriveFunctor+      DeriveGeneric+      DeriveLift+      DeriveTraversable+      DerivingStrategies+      GeneralizedNewtypeDeriving+      StandaloneDeriving+      OverloadedStrings+      TypeApplications+      NumericUnderscores+      ImportQualifiedPost+      NoImplicitPrelude++  ghc-options:+    -Wall -Wincomplete-uni-patterns+    -Wincomplete-record-updates -Widentities -Wredundant-constraints+    -Wcpp-undef -fwarn-tabs -Wpartial-fields+    -fdefer-diagnostics -Wunused-packages+    -fenable-th-splice-warnings+    -fno-omit-yields+    -threaded ++  build-depends:+      ghc-internal < 9.1301++  default-language: Haskell2010++library+  import: common-options+  exposed-modules:+      Baseless+  hs-source-dirs:+      src++executable exe+  import: common-options+  main-is: Main.hs+  hs-source-dirs:+      app+  ghc-options: -Wno-unused-packages -rtsopts "-with-rtsopts=-N -M7G -T -Iw10"+  build-depends:+      baseless+
+ src/Baseless.hs view
@@ -0,0 +1,10 @@+module Baseless+  ( main+  )+where++import GHC.Internal.IO(IO)+import GHC.Internal.System.IO(putStrLn)++main :: IO ()+main = putStrLn "hello, world flaky"