INLINE unfoldr
INLINE unfoldr

Summary:
to allow GHC to maybe remove the Maybe. See the code comment for more
commentary. This fixes #9369.

Test Plan: see what happens on ghcspeed (once it is merged)

Reviewers: austin

Reviewed By: austin

Subscribers: simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D198

GHC Trac Issues: #9369

oldmanmike/ghc,fmthoma/ghc,fmthoma/ghc,mfine/ghc,anton-dessiatov/ghc,anton-dessiatov/ghc,vikraman/ghc,gridaphobe/ghc,urbanslug/ghc,anton-dessiatov/ghc,mcschroeder/ghc,sdiehl/ghc,da-x/ghc,nathyong/microghc-ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,jstolarek/ghc,siddhanathan/ghc,vTurbine/ghc,oldmanmike/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,mettekou/ghc,gridaphobe/ghc,bitemyapp/ghc,wxwxwwxxx/ghc,elieux/ghc,snoyberg/ghc,sgillespie/ghc,anton-dessiatov/ghc,gridaphobe/ghc,nathyong/microghc-ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,acowley/ghc,ezyang/ghc,TomMD/ghc,siddhanathan/ghc,vikraman/ghc,ezyang/ghc,sgillespie/ghc,acowley/ghc,siddhanathan/ghc,urbanslug/ghc,elieux/ghc,sgillespie/ghc,christiaanb/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,tjakway/ghcjvm,TomMD/ghc,fmthoma/ghc,spacekitteh/smcghc,AlexanderPankiv/ghc,elieux/ghc,TomMD/ghc,mettekou/ghc,ml9951/ghc,elieux/ghc,vikraman/ghc,mcschroeder/ghc,nkaretnikov/ghc,wxwxwwxxx/ghc,vikraman/ghc,nkaretnikov/ghc,sdiehl/ghc,sdiehl/ghc,ml9951/ghc,vTurbine/ghc,urbanslug/ghc,snoyberg/ghc,ghc-android/ghc,ghc-android/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,fmthoma/ghc,bitemyapp/ghc,ghc-android/ghc,gcampax/ghc,urbanslug/ghc,TomMD/ghc,vTurbine/ghc,ghc-android/ghc,nathyong/microghc-ghc,tjakway/ghcjvm,christiaanb/ghc,vTurbine/ghc,nkaretnikov/ghc,mcschroeder/ghc,olsner/ghc,forked-upstream-packages-for-ghcjs/ghc,snoyberg/ghc,siddhanathan/ghc,TomMD/ghc,gcampax/ghc,christiaanb/ghc,shlevy/ghc,anton-dessiatov/ghc,gridaphobe/ghc,green-haskell/ghc,snoyberg/ghc,vikraman/ghc,gridaphobe/ghc,nushio3/ghc,urbanslug/ghc,nkaretnikov/ghc,green-haskell/ghc,oldmanmike/ghc,mettekou/ghc,AlexanderPankiv/ghc,elieux/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,nushio3/ghc,ml9951/ghc,AlexanderPankiv/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,snoyberg/ghc,ghc-android/ghc,jstolarek/ghc,fmthoma/ghc,mfine/ghc,ml9951/ghc,vTurbine/ghc,anton-dessiatov/ghc,snoyberg/ghc,jstolarek/ghc,AlexanderPankiv/ghc,urbanslug/ghc,AlexanderPankiv/ghc,siddhanathan/ghc,sdiehl/ghc,christiaanb/ghc,nkaretnikov/ghc,bitemyapp/ghc,oldmanmike/ghc,nathyong/microghc-ghc,da-x/ghc,acowley/ghc,fmthoma/ghc,TomMD/ghc,olsner/ghc,bitemyapp/ghc,mettekou/ghc,christiaanb/ghc,ml9951/ghc,da-x/ghc,mettekou/ghc,olsner/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,spacekitteh/smcghc,ezyang/ghc,shlevy/ghc,mcschroeder/ghc,gcampax/ghc,oldmanmike/ghc,mettekou/ghc,shlevy/ghc,ml9951/ghc,vikraman/ghc,jstolarek/ghc,acowley/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,snoyberg/ghc,nathyong/microghc-ghc,da-x/ghc,gridaphobe/ghc,sdiehl/ghc,nushio3/ghc,nkaretnikov/ghc,olsner/ghc,TomMD/ghc,wxwxwwxxx/ghc,gcampax/ghc,acowley/ghc,ghc-android/ghc,urbanslug/ghc,mfine/ghc,oldmanmike/ghc,olsner/ghc,elieux/ghc,sdiehl/ghc,spacekitteh/smcghc,da-x/ghc,olsner/ghc,sgillespie/ghc,gcampax/ghc,oldmanmike/ghc,fmthoma/ghc,nushio3/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,vikraman/ghc,mfine/ghc,bitemyapp/ghc,gcampax/ghc,anton-dessiatov/ghc,mfine/ghc,spacekitteh/smcghc,da-x/ghc,mettekou/ghc,nkaretnikov/ghc,ezyang/ghc,christiaanb/ghc,mfine/ghc,GaloisInc/halvm-ghc,gcampax/ghc,sgillespie/ghc,sdiehl/ghc,ezyang/ghc,mfine/ghc,sgillespie/ghc,forked-upstream-packages-for-ghcjs/ghc,ezyang/ghc,shlevy/ghc,olsner/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,jstolarek/ghc,tjakway/ghcjvm,vTurbine/ghc,elieux/ghc,ml9951/ghc,green-haskell/ghc,gridaphobe/ghc,acowley/ghc,vTurbine/ghc,GaloisInc/halvm-ghc,acowley/ghc,tjakway/ghcjvm,green-haskell/ghc,da-x/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,shlevy/ghc,nathyong/microghc-ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,nushio3/ghc,sgillespie/ghc,green-haskell/ghc,shlevy/ghc,forked-upstream-packages-for-ghcjs/ghc,nushio3/ghc,ml9951/ghc,nathyong/microghc-ghc,nushio3/ghc,ezyang/ghc