google / starlark-go

Starlark in Go: the Starlark configuration language, implemented in Go
BSD 3-Clause "New" or "Revised" License
2.26k stars 204 forks source link

Add abs function #472

Closed laurentlb closed 10 months ago

laurentlb commented 1 year ago

https://github.com/bazelbuild/starlark/pull/234

SamWheating commented 10 months ago

I have some time for hacking set aside next week, feel free to assign this one to me if nobody is already working on it.

SamWheating commented 10 months ago

Nevermind, this has already existed in starlark-go for 2+ years:

https://github.com/google/starlark-go/blob/243c74974e97462c5df21338e182470391748b04/starlark/library.go#L167-L183

laurentlb commented 10 months ago

Ah, sorry about that. Closing the issue.