GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

ghci> data Foo = Foo { name :: String, age :: Int } deriving Show ghci> let x = Foo { name = "hello", age = undefined } ghci> let y = x { age = 42 } ghci> y Foo {name = "hello", age = 42} ghci> x Foo {name = "hello", age = *** Exception: Prelude.undefined CallStack (from HasCallStack): undefined, called at <interactive>:17:37 in interactive:Ghci13 ghci>

Download link

https://static.mamot.fr/media_attachments/files/111/958/777/887/101/223/original/98f1efb76469437d.png

Notices where this attachment appears

  1. Embed this notice
    Marc (corpsmoderne@mamot.fr)'s status on Tuesday, 20-Feb-2024 01:34:14 JST Marc Marc
    in reply to

    @bortzmeyer @tdelmas @shaft @pmevzek en fait je découvre que tu peux utiliser le undefined de Haskell aussi dans le même cas d'usage du undefined de Zig... :)

    In conversation Tuesday, 20-Feb-2024 01:34:14 JST from mamot.fr permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.