leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: Is there code for X?

Topic: init


Bolton Bailey (Oct 19 2023 at 12:49):

In Haskell there is a function init which is like tail, but for the beginning of a list. Do we have this?

Eric Wieser (Oct 19 2023 at 12:52):

docs3#list.init

Eric Wieser (Oct 19 2023 at 12:53):

docs#List.dropLast


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll