8000 fix(list): deprecate @list.tail by illusory0x0 · Pull Request #2373 · moonbitlang/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(list): deprecate @list.tail #2373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2025
Merged

Conversation

illusory0x0
Copy link
Contributor

we need to align type signature with @list.head

current API

pub fn[A] tail(self : T[A]) -> T[A]

expected API

pub fn[A] tail(self : T[A]) -> T[A]?

@coveralls
Copy link
Collaborator
coveralls commented Jun 27, 2025

Pull Request Test Coverage Report for Build 124

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 89.361%

Totals Coverage Status
Change from base Build 121: 0.0%
Covered Lines: 3452
Relevant Lines: 3863

💛 - Coveralls

we need to align type signature with `@list.head`

**current API**

```moonbit
pub fn[A] tail(self : T[A]) -> T[A]
```

**expected API**

```moonbit
pub fn[A] tail(self : T[A]) -> T[A]?
```
@bobzhang bobzhang enabled auto-merge (rebase) June 28, 2025 02:52
@bobzhang bobzhang merged commit 3423297 into moonbitlang:main Jun 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0