-
-
Notifications
You must be signed in to change notification settings - Fork 676
Closed
Description
This trivial patch adds basic support for constant functions
Such a function could be written as lambda x: constant, but that's not picklable. Besides, this should eventually be cythoned for speed.
Prerequisite for #4326.
CC: @sagetrac-sage-combinat @mwhansen @jasongrout
Component: misc
Keywords: constant functions
Author: Nicolas M. Thiéry
Reviewer: Florent Hivert, Minh Van Nguyen
Merged: Sage 4.1.2.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6253