Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDistinguish between closures and functions-in-general #18
Comments
In purrr 0.2.3, is_function() returns TRUE for primitive functions.
To match naive expectations,
vld_functionshould correspond to the predicatebase::is.functionrather thanpurrr::is_function. A new checkervld_closureshould take the place ofvld_function. Thus: